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 ba23884 commit 188a659Copy full SHA for 188a659
bundled/tool/lsp_zenml.py
@@ -22,6 +22,7 @@
22
import subprocess
23
import sys
24
from functools import wraps
25
+from typing import Any, Dict
26
27
import lsprotocol.types as lsp
28
from constants import IS_ZENML_INSTALLED, MIN_ZENML_VERSION, TOOL_MODULE_NAME
@@ -135,7 +136,7 @@ def wrapper(*args, **kwargs):
135
136
# Cache wrapper instances to avoid repeated getattr calls
137
if wrapper_name:
138
if not hasattr(self, "_wrapper_cache"):
- self._wrapper_cache = {}
139
+ self._wrapper_cache: Dict[str, Any] = {}
140
141
if wrapper_name not in self._wrapper_cache:
142
wrapper_instance = getattr(self.zenml_client, wrapper_name, None)
0 commit comments