core.common: move Json, datetime_aware, datetime_naive, is_namedtuple, asdict to my.core.types
This commit is contained in:
parent
432c64ef56
commit
e0d1dbd533
15 changed files with 78 additions and 56 deletions
|
@ -7,7 +7,7 @@ REQUIRES = [
|
|||
|
||||
|
||||
from dataclasses import dataclass
|
||||
from my.core import Paths
|
||||
from my.core import datetime_aware, Paths
|
||||
from my.config import goodreads as user_config
|
||||
|
||||
@dataclass
|
||||
|
@ -61,7 +61,6 @@ def books() -> Iterator[dal.Book]:
|
|||
#######
|
||||
# todo ok, not sure these really belong here...
|
||||
|
||||
from my.core.common import datetime_aware
|
||||
@dataclass
|
||||
class Event:
|
||||
dt: datetime_aware
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue