core.common: move Json, datetime_aware, datetime_naive, is_namedtuple, asdict to my.core.types
This commit is contained in:
parent
2b0f92c883
commit
614c929f95
15 changed files with 78 additions and 56 deletions
|
@ -5,8 +5,8 @@ from decimal import Decimal
|
|||
from typing import Any, Optional, Callable, NamedTuple
|
||||
from functools import lru_cache
|
||||
|
||||
from .common import is_namedtuple
|
||||
from .error import error_to_json
|
||||
from .types import is_namedtuple
|
||||
from .pytest import parametrize
|
||||
|
||||
# note: it would be nice to combine the 'asdict' and _default_encode to some function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue