mirror of
https://github.com/shadoll/moma.git
synced 2026-08-28 19:43:28 +00:00
feat: Add type hints and improve type safety across multiple modules
This commit is contained in:
Vendored
+1
@@ -16,6 +16,7 @@ class Cache:
|
||||
|
||||
_instance: Optional['Cache'] = None
|
||||
_lock_init = threading.Lock()
|
||||
_initialized: bool
|
||||
|
||||
def __new__(cls, cache_dir: Optional[Path] = None):
|
||||
"""Create or return singleton instance."""
|
||||
|
||||
Reference in New Issue
Block a user