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
|
@ -13,7 +13,8 @@ from typing import TYPE_CHECKING, Any, Iterable, Type, Dict, Literal, Callable,
|
|||
from decorator import decorator
|
||||
|
||||
from . import warnings, Res
|
||||
from .common import LazyLogger, Json, asdict
|
||||
from .common import LazyLogger
|
||||
from .types import Json, asdict
|
||||
from .error import error_to_json, extract_error_datetime
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue