diff --git a/my/core/common.py b/my/core/common.py index 9a58caf..225ff2c 100644 --- a/my/core/common.py +++ b/my/core/common.py @@ -212,6 +212,12 @@ if not TYPE_CHECKING: return logging.LazyLogger(*args, **kwargs) + @deprecated('use my.core.types.asdict instead') + def asdict(*args, **kwargs): + from . import types + + return types.asdict(*args, **kwargs) + # todo wrap these in deprecated decorator as well? from .cachew import mcachew # noqa: F401