You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -54,27 +49,30 @@ class DriverConnectionParameters:
54
49
allowedVolumeIngestionPaths = "[]",
55
50
azureTenantId = "1234567890abcdef",
56
51
socketTimeout = 10000
57
-
)"""
52
+
)
53
+
"""
54
+
55
+
http_path: str
56
+
mode: DatabricksClientType
57
+
host_info: HostDetails
58
+
auth_mech: AuthMech
59
+
auth_flow: AuthFlow
60
+
auth_scope: str
61
+
discovery_url: str
62
+
allowed_volume_ingestion_paths: str
63
+
azure_tenant_id: str
64
+
socket_timeout: int
58
65
59
66
defto_json(self):
60
67
returnjson.dumps(asdict(self))
61
68
62
69
63
70
@dataclass
64
71
classDriverSystemConfiguration:
65
-
driver_version: str
66
-
os_name: str
67
-
os_version: str
68
-
os_arch: str
69
-
runtime_name: str
70
-
runtime_version: str
71
-
runtime_vendor: str
72
-
client_app_name: str
73
-
locale_name: str
74
-
driver_name: str
75
-
char_set_encoding: str
72
+
"""
73
+
Part of TelemetryEvent
76
74
77
-
"""Part of TelemetryEvent
75
+
Example:
78
76
DriverSystemConfiguration systemConfig = new DriverSystemConfiguration(
79
77
driver_version = "2.9.3",
80
78
os_name = "Darwin",
@@ -90,32 +88,47 @@ class DriverSystemConfiguration:
90
88
)
91
89
"""
92
90
91
+
driver_version: str
92
+
os_name: str
93
+
os_version: str
94
+
os_arch: str
95
+
runtime_name: str
96
+
runtime_version: str
97
+
runtime_vendor: str
98
+
client_app_name: str
99
+
locale_name: str
100
+
driver_name: str
101
+
char_set_encoding: str
102
+
93
103
defto_json(self):
94
104
returnjson.dumps(asdict(self))
95
105
96
106
97
107
@dataclass
98
108
classDriverVolumeOperation:
99
-
volume_operation_type: DriverVolumeOperationType
100
-
volume_path: str
109
+
"""
110
+
Part of TelemetryEvent
101
111
102
-
""" Part of TelemetryEvent
112
+
Example:
103
113
DriverVolumeOperation volumeOperation = new DriverVolumeOperation(
104
114
volumeOperationType = "LIST",
105
115
volumePath = "/path/to/volume"
106
116
)
107
117
"""
108
118
119
+
volume_operation_type: DriverVolumeOperationType
120
+
volume_path: str
121
+
109
122
defto_json(self):
110
123
returnjson.dumps(asdict(self))
111
124
112
125
113
126
@dataclass
114
127
classDriverErrorInfo:
115
-
error_name: str
116
-
stack_trace: str
128
+
"""
129
+
Required for ErrorLogs
117
130
118
-
"""Required for ErrorLogs
131
+
Example:
119
132
DriverErrorInfo errorInfo = new DriverErrorInfo(
120
133
errorName="CONNECTION_ERROR",
121
134
stackTrace="Connection failure while using the Databricks SQL Python connector. Failed to connect to server: https://my-workspace.cloud.databricks.com\n" +
0 commit comments