my.core: deprecate Path/dataclass imports from my.core during type checking
runtime still works for backwards compatibility
This commit is contained in:
parent
7f8a502310
commit
2b0f92c883
10 changed files with 34 additions and 18 deletions
|
@ -4,9 +4,10 @@ Converts IP addresses provided by my.location.ip to estimated locations
|
|||
|
||||
REQUIRES = ["git+https://github.com/seanbreckenridge/ipgeocache"]
|
||||
|
||||
from dataclasses import dataclass
|
||||
from datetime import timedelta
|
||||
|
||||
from my.core import dataclass, Stats, make_config
|
||||
from my.core import Stats, make_config
|
||||
from my.config import location
|
||||
from my.core.warnings import medium
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue