core.common: bring back asdict backwards compat -- was used in orger
This commit is contained in:
parent
7bfce72b7c
commit
245ad22057
1 changed files with 6 additions and 0 deletions
|
@ -212,6 +212,12 @@ if not TYPE_CHECKING:
|
||||||
|
|
||||||
return logging.LazyLogger(*args, **kwargs)
|
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?
|
# todo wrap these in deprecated decorator as well?
|
||||||
from .cachew import mcachew # noqa: F401
|
from .cachew import mcachew # noqa: F401
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue