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:
6666 return len (self .thrift_backend .retry_policy .history )
6767 return 0
6868
69- def get_statement_type (self : str ) -> StatementType :
69+ def get_statement_type (self ) -> StatementType :
7070 # TODO: Implement this
7171 return StatementType .SQL
7272
@@ -92,7 +92,7 @@ def get_execution_result(self) -> ExecutionResultFormat:
9292 return ExecutionResultFormat .INLINE_ARROW
9393 return ExecutionResultFormat .FORMAT_UNSPECIFIED
9494
95- def get_statement_type (self : str ) -> StatementType :
95+ def get_statement_type (self ) -> StatementType :
9696 # TODO: Implement this
9797 return StatementType .SQL
9898
Original file line number Diff line number Diff line change @@ -400,6 +400,7 @@ def initialize_telemetry_client(
400400 ):
401401 """Initialize a telemetry client for a specific connection if telemetry is enabled"""
402402 try :
403+
403404 with TelemetryClientFactory ._lock :
404405 TelemetryClientFactory ._initialize ()
405406
You can’t perform that action at this time.
0 commit comments