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

@ -2,9 +2,12 @@
from typing import TYPE_CHECKING
from .common import get_files, PathIsh, Paths
from .common import Json
from .stats import stat, Stats
from .common import datetime_naive, datetime_aware
from .types import (
Json,
datetime_aware,
datetime_naive,
)
from .compat import assert_never
from .utils.itertools import warn_if_empty