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

@ -3,7 +3,7 @@ Last.fm scrobbles
'''
from dataclasses import dataclass
from my.core import Paths, make_logger
from my.core import Paths, Json, make_logger, get_files
from my.config import lastfm as user_config
@ -28,7 +28,6 @@ from pathlib import Path
from typing import NamedTuple, Sequence, Iterable
from my.core.cachew import mcachew
from my.core.common import Json, get_files
def inputs() -> Sequence[Path]: