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:
parent
8834001fe7
commit
918e8ee551
24 changed files with 118 additions and 103 deletions
|
@ -9,7 +9,8 @@ from typing import Iterator
|
|||
from my.google.takeout.parser import events, _cachew_depends_on
|
||||
from google_takeout_parser.models import Location as GoogleLocation
|
||||
|
||||
from my.core.common import mcachew, LazyLogger, Stats
|
||||
from my.core.cachew import mcachew
|
||||
from my.core.common import LazyLogger, stat, Stats
|
||||
from .common import Location
|
||||
|
||||
logger = LazyLogger(__name__)
|
||||
|
@ -33,6 +34,4 @@ def locations() -> Iterator[Location]:
|
|||
|
||||
|
||||
def stats() -> Stats:
|
||||
from my.core import stat
|
||||
|
||||
return {**stat(locations)}
|
||||
return stat(locations)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue