Skip to content

Commit

Permalink
removing pycgmes from base, and chevron_writer imports
Browse files Browse the repository at this point in the history
Signed-off-by: HUG0-D <[email protected]>
  • Loading branch information
HUG0-D committed Nov 19, 2024
1 parent e681a4f commit a931467
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class BaseProfile(str, Enum):
"""
Profile parent. Use it if you need your own profiles.

All pycgmes objects requiring a Profile are actually asking for a `BaseProfile`. As
All CGMES objects requiring a Profile are actually asking for a `BaseProfile`. As
Enum with fields cannot be inherited or composed, just create your own CustomProfile without
trying to extend Profile. It will work.
"""
Expand Down
4 changes: 2 additions & 2 deletions cimgen/languages/modernpython/utils/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

from pydantic.dataclasses import dataclass

from pycgmes.utils.constants import NAMESPACES
from .constants import NAMESPACES

from ..utils.config import cgmes_resource_config
from .config import cgmes_resource_config
from .profile import BaseProfile


Expand Down
6 changes: 3 additions & 3 deletions cimgen/languages/modernpython/utils/chevron_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

import chevron

from pycgmes.utils.base import Base
from pycgmes.utils.constants import NAMESPACES
from pycgmes.utils.profile import BaseProfile, Profile
from .base import Base
from .constants import NAMESPACES
from .profile import BaseProfile, Profile


class ChevronWriter:
Expand Down

0 comments on commit a931467

Please sign in to comment.