File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/databricks/sql/telemetry Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ def get_retry_count(self) -> int:
66
66
return len (self .thrift_backend .retry_policy .history )
67
67
return 0
68
68
69
- def get_statement_type (self : str ) -> StatementType :
69
+ def get_statement_type (self ) -> StatementType :
70
70
# TODO: Implement this
71
71
return StatementType .SQL
72
72
@@ -92,7 +92,7 @@ def get_execution_result(self) -> ExecutionResultFormat:
92
92
return ExecutionResultFormat .INLINE_ARROW
93
93
return ExecutionResultFormat .FORMAT_UNSPECIFIED
94
94
95
- def get_statement_type (self : str ) -> StatementType :
95
+ def get_statement_type (self ) -> StatementType :
96
96
# TODO: Implement this
97
97
return StatementType .SQL
98
98
Original file line number Diff line number Diff line change @@ -400,6 +400,7 @@ def initialize_telemetry_client(
400
400
):
401
401
"""Initialize a telemetry client for a specific connection if telemetry is enabled"""
402
402
try :
403
+
403
404
with TelemetryClientFactory ._lock :
404
405
TelemetryClientFactory ._initialize ()
405
406
You can’t perform that action at this time.
0 commit comments