my.core: deprecate Path/dataclass imports from my.core during type checking

runtime still works for backwards compatibility
This commit is contained in:
Dima Gerasimov 2024-08-16 00:14:44 +03:00
parent ac64b08915
commit 432c64ef56
10 changed files with 34 additions and 18 deletions

View file

@ -2,7 +2,8 @@
Last.fm scrobbles
'''
from my.core import Paths, dataclass, make_logger
from dataclasses import dataclass
from my.core import Paths, make_logger
from my.config import lastfm as user_config