diff --git a/cimgen/languages/modernpython/templates/profile_template.mustache b/cimgen/languages/modernpython/templates/profile_template.mustache index 0c0db152..0ecc6799 100644 --- a/cimgen/languages/modernpython/templates/profile_template.mustache +++ b/cimgen/languages/modernpython/templates/profile_template.mustache @@ -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. """ diff --git a/cimgen/languages/modernpython/utils/base.py b/cimgen/languages/modernpython/utils/base.py index e44b78ba..f6f75703 100644 --- a/cimgen/languages/modernpython/utils/base.py +++ b/cimgen/languages/modernpython/utils/base.py @@ -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 diff --git a/cimgen/languages/modernpython/utils/chevron_writer.py b/cimgen/languages/modernpython/utils/chevron_writer.py index acd7b48f..103d9175 100644 --- a/cimgen/languages/modernpython/utils/chevron_writer.py +++ b/cimgen/languages/modernpython/utils/chevron_writer.py @@ -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: