Skip to content

Commit af166b9

Browse files
account for ResultSet return in new pydocs
Signed-off-by: varun-edachali-dbx <[email protected]>
1 parent 1bec8e9 commit af166b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/databricks/sql/backend/databricks_client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def execute_command(
107107
enforce_embedded_schema_correctness: Whether to enforce schema correctness
108108
109109
Returns:
110-
If async_op is False, returns an ExecuteResponse object containing the
110+
If async_op is False, returns a ResultSet object containing the
111111
query results and metadata. If async_op is True, returns None and the
112112
results must be fetched later using get_execution_result().
113113
@@ -190,7 +190,7 @@ def get_execution_result(
190190
cursor: The cursor object that will handle the results
191191
192192
Returns:
193-
ExecuteResponse: An object containing the query results and metadata
193+
ResultSet: An object containing the query results and metadata
194194
195195
Raises:
196196
ValueError: If the command ID is invalid
@@ -220,7 +220,7 @@ def get_catalogs(
220220
cursor: The cursor object that will handle the results
221221
222222
Returns:
223-
ExecuteResponse: An object containing the catalog metadata
223+
ResultSet: An object containing the catalog metadata
224224
225225
Raises:
226226
ValueError: If the session ID is invalid
@@ -253,7 +253,7 @@ def get_schemas(
253253
schema_name: Optional schema name pattern to filter by
254254
255255
Returns:
256-
ExecuteResponse: An object containing the schema metadata
256+
ResultSet: An object containing the schema metadata
257257
258258
Raises:
259259
ValueError: If the session ID is invalid
@@ -290,7 +290,7 @@ def get_tables(
290290
table_types: Optional list of table types to filter by (e.g., ['TABLE', 'VIEW'])
291291
292292
Returns:
293-
ExecuteResponse: An object containing the table metadata
293+
ResultSet: An object containing the table metadata
294294
295295
Raises:
296296
ValueError: If the session ID is invalid
@@ -327,7 +327,7 @@ def get_columns(
327327
column_name: Optional column name pattern to filter by
328328
329329
Returns:
330-
ExecuteResponse: An object containing the column metadata
330+
ResultSet: An object containing the column metadata
331331
332332
Raises:
333333
ValueError: If the session ID is invalid

0 commit comments

Comments
 (0)