Skip to content

Commit

Permalink
made utils a subpackage. Distributed the util functions into separate…
Browse files Browse the repository at this point in the history
… modules. Added logging.py to utils.
  • Loading branch information
ClaasRostock committed Nov 5, 2024
1 parent 5191903 commit 2653007
Show file tree
Hide file tree
Showing 10 changed files with 393 additions and 320 deletions.
4 changes: 2 additions & 2 deletions src/component_model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

from component_model.caus_var_ini import Initial

from .logger import get_module_logger
from .variable import Variable
from src.component_model.utils.logger import get_module_logger
from src.component_model.variable import Variable

logger = get_module_logger(__name__, level=0)
Value: TypeAlias = str | int | float | bool | Enum
Expand Down
Empty file added src/component_model/py.typed
Empty file.
316 changes: 0 additions & 316 deletions src/component_model/utils.py

This file was deleted.

1 change: 1 addition & 0 deletions src/component_model/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Utilities for component_model."""
Loading

0 comments on commit 2653007

Please sign in to comment.