core: cleanup deprecations, exclude from type checking and show runtime warnings

among affected things:

- core.common.assert_never
- core.common.cproperty
- core.common.isoparse
- core.common.mcachew
- core.common.the
- core.common.tzdatetime
- core.compat.sqlite_backup
This commit is contained in:
Dima Gerasimov 2024-08-12 16:46:21 +03:00 committed by karlicoss
parent a7439c7846
commit 973c4205df
24 changed files with 118 additions and 103 deletions

View file

@ -13,7 +13,8 @@ from my.google.takeout.parser import events, _cachew_depends_on as _parser_cache
from google_takeout_parser.models import PlaceVisit as SemanticLocation
from my.core import dataclass, make_config
from my.core.common import mcachew, LazyLogger, Stats
from my.core.cachew import mcachew
from my.core.common import LazyLogger, Stats, stat
from my.core.error import Res
from .common import Location
@ -72,6 +73,4 @@ def locations() -> Iterator[Res[Location]]:
def stats() -> Stats:
from my.core import stat
return {**stat(locations)}
return stat(locations)