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 f6bd9ad commit c47bc73Copy full SHA for c47bc73
src/databricks/sql/telemetry/telemetry_client.py
@@ -4,7 +4,7 @@
4
import requests
5
import logging
6
from concurrent.futures import ThreadPoolExecutor
7
-from typing import Dict
+from typing import Dict, Optional
8
from databricks.sql.telemetry.models.event import (
9
TelemetryEvent,
10
DriverSystemConfiguration,
@@ -252,7 +252,7 @@ class TelemetryClientFactory:
252
_clients: Dict[
253
str, TelemetryClient
254
] = {} # Map of connection_uuid -> TelemetryClient
255
- _executor: ThreadPoolExecutor = None
+ _executor: Optional[ThreadPoolExecutor] = None
256
_initialized: bool = False
257
_lock = threading.Lock() # Thread safety for factory operations
258
0 commit comments