core.common: move Json, datetime_aware, datetime_naive, is_namedtuple, asdict to my.core.types

This commit is contained in:
Dima Gerasimov 2024-08-16 11:46:29 +03:00 committed by karlicoss
parent 2b0f92c883
commit 614c929f95
15 changed files with 78 additions and 56 deletions

View file

@ -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