mirror of
https://github.com/dlt-hub/dlt.git
synced 2025-12-17 19:31:30 +00:00
add None to Container._Instance typing (#3469)
This commit is contained in:
@@ -29,7 +29,7 @@ class Container:
|
||||
|
||||
"""
|
||||
|
||||
_INSTANCE: ClassVar["Container"] = None
|
||||
_INSTANCE: ClassVar[Optional["Container"]] = None
|
||||
_LOCK: ClassVar[threading.Lock] = threading.Lock()
|
||||
_MAIN_THREAD_ID: ClassVar[int] = threading.get_ident()
|
||||
"""A main thread id to which get item will fallback for contexts without default"""
|
||||
|
||||
Reference in New Issue
Block a user