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,8 +4,11 @@ Parse [[https://github.com/mendhak/gpslogger][gpslogger]] .gpx (xml) files
|
|||
|
||||
REQUIRES = ["gpxpy"]
|
||||
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
from my.config import location
|
||||
from my.core import Paths, dataclass
|
||||
from my.core import Paths
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue