We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4929358 commit fc38d4cCopy full SHA for fc38d4c
luxonis_ml/utils/environ.py
@@ -1,6 +1,6 @@
1
from functools import lru_cache
2
from pathlib import Path
3
-from typing import Any, Literal
+from typing import Any, Literal, cast
4
5
from pydantic import model_serializer
6
from pydantic_settings import BaseSettings, SettingsConfigDict
@@ -68,4 +68,5 @@ def __repr__(self) -> str:
68
return "<EnvironProxy loading from .env>"
69
70
71
-environ = _EnvironProxy()
+_proxy = _EnvironProxy()
72
+environ: Environ = cast(Environ, _proxy)
0 commit comments