Skip to content

Commit

Permalink
Move SemanticVersion class into the models module, which is a better …
Browse files Browse the repository at this point in the history
…fit.
  • Loading branch information
LswaN58 committed Jan 9, 2025
1 parent 11c2ae2 commit ca788a4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# import local files
from ogd.common.connectors.filters import *
from ogd.common.connectors.filters.collections.FilterCollection import FilterCollection
from ogd.common.utils.SemanticVersion import SemanticVersion
from ogd.common.models.SemanticVersion import SemanticVersion
from ogd.common.models.enums.FilterMode import FilterMode

type Version = int | str | SemanticVersion
Expand Down
2 changes: 1 addition & 1 deletion src/ogd/common/connectors/interfaces/Interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from ogd.common.configs.GameSourceSchema import GameSourceSchema
from ogd.common.schemas.tables.EventTableSchema import EventTableSchema
from ogd.common.schemas.tables.FeatureTableSchema import FeatureTableSchema
from ogd.common.utils.SemanticVersion import SemanticVersion
from ogd.common.models.SemanticVersion import SemanticVersion
from ogd.common.utils.Logger import Logger

class Interface(StorageConnector):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/cases/utils/t_SemanticVersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# import locals
_path = Path(os.getcwd()) / "src"
sys.path.insert(0, str(_path.absolute()))
from ogd.common.utils.SemanticVersion import SemanticVersion
from ogd.common.models.SemanticVersion import SemanticVersion

def setUpModule():
from ogd.common.utils.Logger import Logger
Expand Down

0 comments on commit ca788a4

Please sign in to comment.