feat: Add type hints and improve type safety across multiple modules

This commit is contained in:
sha
2026-04-12 22:41:47 +03:00
parent f2af482154
commit bcc6b03ae2
20 changed files with 79 additions and 51 deletions
+1
View File
@@ -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."""