diff --git a/env_config/base.py b/env_config/base.py index aec09c6..3a035b2 100644 --- a/env_config/base.py +++ b/env_config/base.py @@ -136,9 +136,9 @@ def load_settings(cls) -> dict[str, Any]: return {name: getattr(cls, name) for name in dir(cls) if name.isupper() and not name.startswith("_")} @classproperty - def dotenv(cls) -> dict[str, str] | Undefined: # noqa: N805 + def dotenv(cls) -> dict[str, str] | Undefined: return getattr(cls, f"_{cls.__name__}__dotenv", Undefined) @classproperty - def dotenv_path(cls) -> str | None | Undefined: # noqa: N805 + def dotenv_path(cls) -> str | None | Undefined: return getattr(cls, f"_{cls.__name__}__dotenv_path", Undefined)