@@ -17,7 +17,11 @@ def __init__(self, configuration: Optional[core.HttpConfiguration] = None):
17
17
Args:
18
18
configuration: Defines the web server to connect to and information about
19
19
how to connect. If not provided, an instance of
20
- :class:`core.JupyterHttpConfiguration` is used.
20
+ :class:`JupyterHttpConfiguration <nisystemlink.clients.core.JupyterHttpConfiguration>`
21
+ is used.
22
+
23
+ Raises:
24
+ ApiException: if unable to communicate with the Data Frame service.
21
25
"""
22
26
if configuration is None :
23
27
configuration = core .JupyterHttpConfiguration ()
@@ -26,7 +30,14 @@ def __init__(self, configuration: Optional[core.HttpConfiguration] = None):
26
30
27
31
@get ("" )
28
32
def api_info (self ) -> models .ApiInfo :
29
- """Returns information about available API operations."""
33
+ """Get information about available API operations.
34
+
35
+ Returns:
36
+ Information about available API operations.
37
+
38
+ Raises:
39
+ ApiException: if unable to communicate with the Data Frame service.
40
+ """
30
41
...
31
42
32
43
@get (
@@ -60,7 +71,11 @@ def list_tables(
60
71
workspace: List of workspace IDs to filter by.
61
72
62
73
Returns:
63
- models.PagedTables: The list of tables with a continuation token.
74
+ The list of tables with a continuation token.
75
+
76
+ Raises:
77
+ ApiException: if unable to communicate with the Data Frame service
78
+ or provided an invalid argument.
64
79
"""
65
80
...
66
81
@@ -73,6 +88,10 @@ def create_table(self, table: models.CreateTableRequest) -> str:
73
88
74
89
Returns:
75
90
The ID of the newly created table.
91
+
92
+ Raises:
93
+ ApiException: if unable to communicate with the Data Frame service
94
+ or provided an invalid argument.
76
95
"""
77
96
...
78
97
@@ -84,7 +103,11 @@ def query_tables(self, query: models.QueryTablesRequest) -> models.PagedTables:
84
103
query: The request to query tables.
85
104
86
105
Returns:
87
- models.PagedTables: The list of tables with a continuation token.
106
+ The list of tables with a continuation token.
107
+
108
+ Raises:
109
+ ApiException: if unable to communicate with the Data Frame service
110
+ or provided an invalid argument.
88
111
"""
89
112
...
90
113
@@ -96,7 +119,11 @@ def get_table_metadata(self, id: str) -> models.TableMetadata:
96
119
id (str): Unique ID of a DataFrame table.
97
120
98
121
Returns:
99
- models.TableMetadata: The metadata for the table.
122
+ The metadata for the table.
123
+
124
+ Raises:
125
+ ApiException: if unable to communicate with the Data Frame service
126
+ or provided an invalid argument.
100
127
"""
101
128
...
102
129
@@ -107,6 +134,10 @@ def modify_table(self, id: str, update: models.ModifyTableRequest) -> None:
107
134
Args:
108
135
id: Unique ID of a DataFrame table.
109
136
update: The metadata to update.
137
+
138
+ Raises:
139
+ ApiException: if unable to communicate with the Data Frame service
140
+ or provided an invalid argument.
110
141
"""
111
142
...
112
143
@@ -116,6 +147,10 @@ def delete_table(self, id: str) -> None:
116
147
117
148
Args:
118
149
id (str): Unique ID of a DataFrame table.
150
+
151
+ Raises:
152
+ ApiException: if unable to communicate with the Data Frame service
153
+ or provided an invalid argument.
119
154
"""
120
155
...
121
156
@@ -131,6 +166,10 @@ def delete_tables(
131
166
Returns:
132
167
A partial success if any tables failed to delete, or None if all
133
168
tables were deleted successfully.
169
+
170
+ Raises:
171
+ ApiException: if unable to communicate with the Data Frame service
172
+ or provided an invalid argument.
134
173
"""
135
174
...
136
175
@@ -146,6 +185,10 @@ def modify_tables(
146
185
Returns:
147
186
A partial success if any tables failed to be modified, or None if all
148
187
tables were modified successfully.
188
+
189
+ Raises:
190
+ ApiException: if unable to communicate with the Data Frame service
191
+ or provided an invalid argument.
149
192
"""
150
193
...
151
194
@@ -184,7 +227,11 @@ def get_table_data(
184
227
continuation_token: The token used to paginate results.
185
228
186
229
Returns:
187
- models.PagedTableRows: The table data and total number of rows with a continuation token.
230
+ The table data and total number of rows with a continuation token.
231
+
232
+ Raises:
233
+ ApiException: if unable to communicate with the Data Frame service
234
+ or provided an invalid argument.
188
235
"""
189
236
...
190
237
@@ -195,6 +242,10 @@ def append_table_data(self, id: str, data: models.AppendTableDataRequest) -> Non
195
242
Args:
196
243
id: Unique ID of a DataFrame table.
197
244
data: The rows of data to append and any additional options.
245
+
246
+ Raises:
247
+ ApiException: if unable to communicate with the Data Frame service
248
+ or provided an invalid argument.
198
249
"""
199
250
...
200
251
@@ -209,7 +260,11 @@ def query_table_data(
209
260
query: The filtering and sorting to apply when reading data.
210
261
211
262
Returns:
212
- models.PagedTableRows: The table data and total number of rows with a continuation token.
263
+ The table data and total number of rows with a continuation token.
264
+
265
+ Raises:
266
+ ApiException: if unable to communicate with the Data Frame service
267
+ or provided an invalid argument.
213
268
"""
214
269
...
215
270
@@ -224,6 +279,10 @@ def query_decimated_data(
224
279
query: The filtering and decimation options to apply when reading data.
225
280
226
281
Returns:
227
- models.TableRows: The decimated table data.
282
+ The decimated table data.
283
+
284
+ Raises:
285
+ ApiException: if unable to communicate with the Data Frame service
286
+ or provided an invalid argument.
228
287
"""
229
288
...
0 commit comments