Skip to content

Commit fc38d4c

Browse files
committed
fix type check
1 parent 4929358 commit fc38d4c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

luxonis_ml/utils/environ.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from functools import lru_cache
22
from pathlib import Path
3-
from typing import Any, Literal
3+
from typing import Any, Literal, cast
44

55
from pydantic import model_serializer
66
from pydantic_settings import BaseSettings, SettingsConfigDict
@@ -68,4 +68,5 @@ def __repr__(self) -> str:
6868
return "<EnvironProxy loading from .env>"
6969

7070

71-
environ = _EnvironProxy()
71+
_proxy = _EnvironProxy()
72+
environ: Environ = cast(Environ, _proxy)

0 commit comments

Comments
 (0)