robosystems-client 0.1.12__py3-none-any.whl → 0.1.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/backup/create_backup.py +1 -1
- robosystems_client/api/backup/export_backup.py +14 -19
- robosystems_client/api/backup/get_backup_download_url.py +1 -1
- robosystems_client/api/backup/get_backup_stats.py +19 -1
- robosystems_client/api/backup/list_backups.py +19 -1
- robosystems_client/api/backup/restore_backup.py +1 -1
- robosystems_client/api/copy/copy_data_to_graph.py +314 -0
- robosystems_client/api/{credits_ → graph_credits}/check_credit_balance.py +42 -20
- robosystems_client/api/graph_health/__init__.py +1 -0
- robosystems_client/api/{graph_status → graph_health}/get_database_health.py +1 -1
- robosystems_client/api/graph_info/__init__.py +1 -0
- robosystems_client/api/{graph_status → graph_info}/get_database_info.py +1 -1
- robosystems_client/api/graph_limits/__init__.py +1 -0
- robosystems_client/api/graph_limits/get_graph_limits.py +259 -0
- robosystems_client/api/subgraphs/create_subgraph.py +63 -173
- robosystems_client/api/subgraphs/delete_subgraph.py +14 -14
- robosystems_client/api/subgraphs/get_subgraph_info.py +14 -14
- robosystems_client/api/subgraphs/get_subgraph_quota.py +8 -4
- robosystems_client/api/subgraphs/list_subgraphs.py +39 -75
- robosystems_client/api/user/get_all_credit_summaries.py +1 -1
- robosystems_client/models/__init__.py +26 -10
- robosystems_client/models/copy_response.py +223 -0
- robosystems_client/models/{kuzu_backup_health_response_kuzubackuphealth.py → copy_response_error_details_type_0.py} +5 -5
- robosystems_client/models/copy_response_status.py +10 -0
- robosystems_client/models/custom_schema_definition.py +2 -2
- robosystems_client/models/data_frame_copy_request.py +125 -0
- robosystems_client/models/data_frame_copy_request_format.py +10 -0
- robosystems_client/models/get_graph_limits_response_getgraphlimits.py +44 -0
- robosystems_client/models/s3_copy_request.py +375 -0
- robosystems_client/models/s3_copy_request_file_format.py +12 -0
- robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +9 -0
- robosystems_client/models/url_copy_request.py +157 -0
- robosystems_client/models/url_copy_request_file_format.py +10 -0
- robosystems_client/models/url_copy_request_headers_type_0.py +44 -0
- {robosystems_client-0.1.12.dist-info → robosystems_client-0.1.13.dist-info}/METADATA +1 -1
- {robosystems_client-0.1.12.dist-info → robosystems_client-0.1.13.dist-info}/RECORD +48 -41
- robosystems_client/api/backup/kuzu_backup_health.py +0 -202
- robosystems_client/api/billing/get_available_subscription_plans_v1_graph_id_billing_available_plans_get.py +0 -198
- robosystems_client/api/billing/get_credit_billing_info_v1_graph_id_billing_credits_get.py +0 -210
- robosystems_client/api/billing/get_graph_pricing_info_v1_graph_id_billing_pricing_get.py +0 -198
- robosystems_client/api/billing/get_graph_subscription_v1_graph_id_billing_subscription_get.py +0 -198
- robosystems_client/api/billing/upgrade_graph_subscription_v1_graph_id_billing_subscription_upgrade_post.py +0 -216
- robosystems_client/models/backup_export_request.py +0 -72
- robosystems_client/models/credit_check_request.py +0 -82
- robosystems_client/models/upgrade_subscription_request.py +0 -82
- /robosystems_client/api/{billing → copy}/__init__.py +0 -0
- /robosystems_client/api/{credits_ → graph_billing}/__init__.py +0 -0
- /robosystems_client/api/{billing → graph_billing}/get_current_graph_bill.py +0 -0
- /robosystems_client/api/{billing → graph_billing}/get_graph_billing_history.py +0 -0
- /robosystems_client/api/{billing → graph_billing}/get_graph_monthly_bill.py +0 -0
- /robosystems_client/api/{billing → graph_billing}/get_graph_usage_details.py +0 -0
- /robosystems_client/api/{graph_status → graph_credits}/__init__.py +0 -0
- /robosystems_client/api/{credits_ → graph_credits}/check_storage_limits.py +0 -0
- /robosystems_client/api/{credits_ → graph_credits}/get_credit_summary.py +0 -0
- /robosystems_client/api/{credits_ → graph_credits}/get_storage_usage.py +0 -0
- /robosystems_client/api/{credits_ → graph_credits}/list_credit_transactions.py +0 -0
- {robosystems_client-0.1.12.dist-info → robosystems_client-0.1.13.dist-info}/WHEEL +0 -0
|
@@ -13,7 +13,7 @@ from ...types import UNSET, Response, Unset
|
|
|
13
13
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
graph_id: str,
|
|
16
|
-
|
|
16
|
+
subgraph_id: str,
|
|
17
17
|
*,
|
|
18
18
|
body: DeleteSubgraphRequest,
|
|
19
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
@@ -29,7 +29,7 @@ def _get_kwargs(
|
|
|
29
29
|
|
|
30
30
|
_kwargs: dict[str, Any] = {
|
|
31
31
|
"method": "delete",
|
|
32
|
-
"url": f"/v1/{graph_id}/subgraphs/{
|
|
32
|
+
"url": f"/v1/{graph_id}/subgraphs/{subgraph_id}",
|
|
33
33
|
"cookies": cookies,
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -89,7 +89,7 @@ def _build_response(
|
|
|
89
89
|
|
|
90
90
|
def sync_detailed(
|
|
91
91
|
graph_id: str,
|
|
92
|
-
|
|
92
|
+
subgraph_id: str,
|
|
93
93
|
*,
|
|
94
94
|
client: AuthenticatedClient,
|
|
95
95
|
body: DeleteSubgraphRequest,
|
|
@@ -119,7 +119,7 @@ def sync_detailed(
|
|
|
119
119
|
|
|
120
120
|
Args:
|
|
121
121
|
graph_id (str): Parent graph identifier
|
|
122
|
-
|
|
122
|
+
subgraph_id (str): Subgraph identifier to delete
|
|
123
123
|
authorization (Union[None, Unset, str]):
|
|
124
124
|
auth_token (Union[None, Unset, str]):
|
|
125
125
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
@@ -134,7 +134,7 @@ def sync_detailed(
|
|
|
134
134
|
|
|
135
135
|
kwargs = _get_kwargs(
|
|
136
136
|
graph_id=graph_id,
|
|
137
|
-
|
|
137
|
+
subgraph_id=subgraph_id,
|
|
138
138
|
body=body,
|
|
139
139
|
authorization=authorization,
|
|
140
140
|
auth_token=auth_token,
|
|
@@ -149,7 +149,7 @@ def sync_detailed(
|
|
|
149
149
|
|
|
150
150
|
def sync(
|
|
151
151
|
graph_id: str,
|
|
152
|
-
|
|
152
|
+
subgraph_id: str,
|
|
153
153
|
*,
|
|
154
154
|
client: AuthenticatedClient,
|
|
155
155
|
body: DeleteSubgraphRequest,
|
|
@@ -179,7 +179,7 @@ def sync(
|
|
|
179
179
|
|
|
180
180
|
Args:
|
|
181
181
|
graph_id (str): Parent graph identifier
|
|
182
|
-
|
|
182
|
+
subgraph_id (str): Subgraph identifier to delete
|
|
183
183
|
authorization (Union[None, Unset, str]):
|
|
184
184
|
auth_token (Union[None, Unset, str]):
|
|
185
185
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
@@ -194,7 +194,7 @@ def sync(
|
|
|
194
194
|
|
|
195
195
|
return sync_detailed(
|
|
196
196
|
graph_id=graph_id,
|
|
197
|
-
|
|
197
|
+
subgraph_id=subgraph_id,
|
|
198
198
|
client=client,
|
|
199
199
|
body=body,
|
|
200
200
|
authorization=authorization,
|
|
@@ -204,7 +204,7 @@ def sync(
|
|
|
204
204
|
|
|
205
205
|
async def asyncio_detailed(
|
|
206
206
|
graph_id: str,
|
|
207
|
-
|
|
207
|
+
subgraph_id: str,
|
|
208
208
|
*,
|
|
209
209
|
client: AuthenticatedClient,
|
|
210
210
|
body: DeleteSubgraphRequest,
|
|
@@ -234,7 +234,7 @@ async def asyncio_detailed(
|
|
|
234
234
|
|
|
235
235
|
Args:
|
|
236
236
|
graph_id (str): Parent graph identifier
|
|
237
|
-
|
|
237
|
+
subgraph_id (str): Subgraph identifier to delete
|
|
238
238
|
authorization (Union[None, Unset, str]):
|
|
239
239
|
auth_token (Union[None, Unset, str]):
|
|
240
240
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
@@ -249,7 +249,7 @@ async def asyncio_detailed(
|
|
|
249
249
|
|
|
250
250
|
kwargs = _get_kwargs(
|
|
251
251
|
graph_id=graph_id,
|
|
252
|
-
|
|
252
|
+
subgraph_id=subgraph_id,
|
|
253
253
|
body=body,
|
|
254
254
|
authorization=authorization,
|
|
255
255
|
auth_token=auth_token,
|
|
@@ -262,7 +262,7 @@ async def asyncio_detailed(
|
|
|
262
262
|
|
|
263
263
|
async def asyncio(
|
|
264
264
|
graph_id: str,
|
|
265
|
-
|
|
265
|
+
subgraph_id: str,
|
|
266
266
|
*,
|
|
267
267
|
client: AuthenticatedClient,
|
|
268
268
|
body: DeleteSubgraphRequest,
|
|
@@ -292,7 +292,7 @@ async def asyncio(
|
|
|
292
292
|
|
|
293
293
|
Args:
|
|
294
294
|
graph_id (str): Parent graph identifier
|
|
295
|
-
|
|
295
|
+
subgraph_id (str): Subgraph identifier to delete
|
|
296
296
|
authorization (Union[None, Unset, str]):
|
|
297
297
|
auth_token (Union[None, Unset, str]):
|
|
298
298
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
@@ -308,7 +308,7 @@ async def asyncio(
|
|
|
308
308
|
return (
|
|
309
309
|
await asyncio_detailed(
|
|
310
310
|
graph_id=graph_id,
|
|
311
|
-
|
|
311
|
+
subgraph_id=subgraph_id,
|
|
312
312
|
client=client,
|
|
313
313
|
body=body,
|
|
314
314
|
authorization=authorization,
|
|
@@ -12,7 +12,7 @@ from ...types import UNSET, Response, Unset
|
|
|
12
12
|
|
|
13
13
|
def _get_kwargs(
|
|
14
14
|
graph_id: str,
|
|
15
|
-
|
|
15
|
+
subgraph_id: str,
|
|
16
16
|
*,
|
|
17
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
18
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
@@ -27,7 +27,7 @@ def _get_kwargs(
|
|
|
27
27
|
|
|
28
28
|
_kwargs: dict[str, Any] = {
|
|
29
29
|
"method": "get",
|
|
30
|
-
"url": f"/v1/{graph_id}/subgraphs/{
|
|
30
|
+
"url": f"/v1/{graph_id}/subgraphs/{subgraph_id}/info",
|
|
31
31
|
"cookies": cookies,
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -80,7 +80,7 @@ def _build_response(
|
|
|
80
80
|
|
|
81
81
|
def sync_detailed(
|
|
82
82
|
graph_id: str,
|
|
83
|
-
|
|
83
|
+
subgraph_id: str,
|
|
84
84
|
*,
|
|
85
85
|
client: AuthenticatedClient,
|
|
86
86
|
authorization: Union[None, Unset, str] = UNSET,
|
|
@@ -110,7 +110,7 @@ def sync_detailed(
|
|
|
110
110
|
|
|
111
111
|
Args:
|
|
112
112
|
graph_id (str): Parent graph identifier
|
|
113
|
-
|
|
113
|
+
subgraph_id (str): Subgraph identifier
|
|
114
114
|
authorization (Union[None, Unset, str]):
|
|
115
115
|
auth_token (Union[None, Unset, str]):
|
|
116
116
|
|
|
@@ -124,7 +124,7 @@ def sync_detailed(
|
|
|
124
124
|
|
|
125
125
|
kwargs = _get_kwargs(
|
|
126
126
|
graph_id=graph_id,
|
|
127
|
-
|
|
127
|
+
subgraph_id=subgraph_id,
|
|
128
128
|
authorization=authorization,
|
|
129
129
|
auth_token=auth_token,
|
|
130
130
|
)
|
|
@@ -138,7 +138,7 @@ def sync_detailed(
|
|
|
138
138
|
|
|
139
139
|
def sync(
|
|
140
140
|
graph_id: str,
|
|
141
|
-
|
|
141
|
+
subgraph_id: str,
|
|
142
142
|
*,
|
|
143
143
|
client: AuthenticatedClient,
|
|
144
144
|
authorization: Union[None, Unset, str] = UNSET,
|
|
@@ -168,7 +168,7 @@ def sync(
|
|
|
168
168
|
|
|
169
169
|
Args:
|
|
170
170
|
graph_id (str): Parent graph identifier
|
|
171
|
-
|
|
171
|
+
subgraph_id (str): Subgraph identifier
|
|
172
172
|
authorization (Union[None, Unset, str]):
|
|
173
173
|
auth_token (Union[None, Unset, str]):
|
|
174
174
|
|
|
@@ -182,7 +182,7 @@ def sync(
|
|
|
182
182
|
|
|
183
183
|
return sync_detailed(
|
|
184
184
|
graph_id=graph_id,
|
|
185
|
-
|
|
185
|
+
subgraph_id=subgraph_id,
|
|
186
186
|
client=client,
|
|
187
187
|
authorization=authorization,
|
|
188
188
|
auth_token=auth_token,
|
|
@@ -191,7 +191,7 @@ def sync(
|
|
|
191
191
|
|
|
192
192
|
async def asyncio_detailed(
|
|
193
193
|
graph_id: str,
|
|
194
|
-
|
|
194
|
+
subgraph_id: str,
|
|
195
195
|
*,
|
|
196
196
|
client: AuthenticatedClient,
|
|
197
197
|
authorization: Union[None, Unset, str] = UNSET,
|
|
@@ -221,7 +221,7 @@ async def asyncio_detailed(
|
|
|
221
221
|
|
|
222
222
|
Args:
|
|
223
223
|
graph_id (str): Parent graph identifier
|
|
224
|
-
|
|
224
|
+
subgraph_id (str): Subgraph identifier
|
|
225
225
|
authorization (Union[None, Unset, str]):
|
|
226
226
|
auth_token (Union[None, Unset, str]):
|
|
227
227
|
|
|
@@ -235,7 +235,7 @@ async def asyncio_detailed(
|
|
|
235
235
|
|
|
236
236
|
kwargs = _get_kwargs(
|
|
237
237
|
graph_id=graph_id,
|
|
238
|
-
|
|
238
|
+
subgraph_id=subgraph_id,
|
|
239
239
|
authorization=authorization,
|
|
240
240
|
auth_token=auth_token,
|
|
241
241
|
)
|
|
@@ -247,7 +247,7 @@ async def asyncio_detailed(
|
|
|
247
247
|
|
|
248
248
|
async def asyncio(
|
|
249
249
|
graph_id: str,
|
|
250
|
-
|
|
250
|
+
subgraph_id: str,
|
|
251
251
|
*,
|
|
252
252
|
client: AuthenticatedClient,
|
|
253
253
|
authorization: Union[None, Unset, str] = UNSET,
|
|
@@ -277,7 +277,7 @@ async def asyncio(
|
|
|
277
277
|
|
|
278
278
|
Args:
|
|
279
279
|
graph_id (str): Parent graph identifier
|
|
280
|
-
|
|
280
|
+
subgraph_id (str): Subgraph identifier
|
|
281
281
|
authorization (Union[None, Unset, str]):
|
|
282
282
|
auth_token (Union[None, Unset, str]):
|
|
283
283
|
|
|
@@ -292,7 +292,7 @@ async def asyncio(
|
|
|
292
292
|
return (
|
|
293
293
|
await asyncio_detailed(
|
|
294
294
|
graph_id=graph_id,
|
|
295
|
-
|
|
295
|
+
subgraph_id=subgraph_id,
|
|
296
296
|
client=client,
|
|
297
297
|
authorization=authorization,
|
|
298
298
|
auth_token=auth_token,
|
|
@@ -93,8 +93,9 @@ def sync_detailed(
|
|
|
93
93
|
|
|
94
94
|
**Tier Limits:**
|
|
95
95
|
- Standard: 0 subgraphs (not supported)
|
|
96
|
-
- Enterprise: 10 subgraphs
|
|
96
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
97
97
|
- Premium: Unlimited subgraphs
|
|
98
|
+
- Limits are defined in deployment configuration
|
|
98
99
|
|
|
99
100
|
**Size Tracking:**
|
|
100
101
|
Provides aggregate size metrics when available.
|
|
@@ -145,8 +146,9 @@ def sync(
|
|
|
145
146
|
|
|
146
147
|
**Tier Limits:**
|
|
147
148
|
- Standard: 0 subgraphs (not supported)
|
|
148
|
-
- Enterprise: 10 subgraphs
|
|
149
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
149
150
|
- Premium: Unlimited subgraphs
|
|
151
|
+
- Limits are defined in deployment configuration
|
|
150
152
|
|
|
151
153
|
**Size Tracking:**
|
|
152
154
|
Provides aggregate size metrics when available.
|
|
@@ -192,8 +194,9 @@ async def asyncio_detailed(
|
|
|
192
194
|
|
|
193
195
|
**Tier Limits:**
|
|
194
196
|
- Standard: 0 subgraphs (not supported)
|
|
195
|
-
- Enterprise: 10 subgraphs
|
|
197
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
196
198
|
- Premium: Unlimited subgraphs
|
|
199
|
+
- Limits are defined in deployment configuration
|
|
197
200
|
|
|
198
201
|
**Size Tracking:**
|
|
199
202
|
Provides aggregate size metrics when available.
|
|
@@ -242,8 +245,9 @@ async def asyncio(
|
|
|
242
245
|
|
|
243
246
|
**Tier Limits:**
|
|
244
247
|
- Standard: 0 subgraphs (not supported)
|
|
245
|
-
- Enterprise: 10 subgraphs
|
|
248
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
246
249
|
- Premium: Unlimited subgraphs
|
|
250
|
+
- Limits are defined in deployment configuration
|
|
247
251
|
|
|
248
252
|
**Size Tracking:**
|
|
249
253
|
Provides aggregate size metrics when available.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from http import HTTPStatus
|
|
2
|
-
from typing import Any, Optional, Union
|
|
2
|
+
from typing import Any, Optional, Union
|
|
3
3
|
|
|
4
4
|
import httpx
|
|
5
5
|
|
|
@@ -36,23 +36,11 @@ def _get_kwargs(
|
|
|
36
36
|
|
|
37
37
|
def _parse_response(
|
|
38
38
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
39
|
-
) -> Optional[Union[
|
|
39
|
+
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
40
40
|
if response.status_code == 200:
|
|
41
41
|
response_200 = ListSubgraphsResponse.from_dict(response.json())
|
|
42
42
|
|
|
43
43
|
return response_200
|
|
44
|
-
if response.status_code == 401:
|
|
45
|
-
response_401 = cast(Any, None)
|
|
46
|
-
return response_401
|
|
47
|
-
if response.status_code == 403:
|
|
48
|
-
response_403 = cast(Any, None)
|
|
49
|
-
return response_403
|
|
50
|
-
if response.status_code == 404:
|
|
51
|
-
response_404 = cast(Any, None)
|
|
52
|
-
return response_404
|
|
53
|
-
if response.status_code == 500:
|
|
54
|
-
response_500 = cast(Any, None)
|
|
55
|
-
return response_500
|
|
56
44
|
if response.status_code == 422:
|
|
57
45
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
58
46
|
|
|
@@ -65,7 +53,7 @@ def _parse_response(
|
|
|
65
53
|
|
|
66
54
|
def _build_response(
|
|
67
55
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
68
|
-
) -> Response[Union[
|
|
56
|
+
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
69
57
|
return Response(
|
|
70
58
|
status_code=HTTPStatus(response.status_code),
|
|
71
59
|
content=response.content,
|
|
@@ -80,28 +68,22 @@ def sync_detailed(
|
|
|
80
68
|
client: AuthenticatedClient,
|
|
81
69
|
authorization: Union[None, Unset, str] = UNSET,
|
|
82
70
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
83
|
-
) -> Response[Union[
|
|
71
|
+
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
84
72
|
"""List Subgraphs
|
|
85
73
|
|
|
86
74
|
List all subgraphs for a parent graph.
|
|
87
75
|
|
|
88
76
|
**Requirements:**
|
|
89
|
-
-
|
|
77
|
+
- Valid authentication
|
|
78
|
+
- Parent graph must exist and be accessible to the user
|
|
79
|
+
- User must have at least 'read' permission on the parent graph
|
|
90
80
|
|
|
91
|
-
**
|
|
92
|
-
- List of all subgraphs
|
|
93
|
-
-
|
|
94
|
-
- Size and statistics per subgraph
|
|
95
|
-
- Creation timestamps
|
|
96
|
-
|
|
97
|
-
**Filtering:**
|
|
98
|
-
Currently returns all subgraphs. Future versions will support:
|
|
99
|
-
- Filtering by status
|
|
100
|
-
- Filtering by creation date
|
|
101
|
-
- Pagination for large lists
|
|
81
|
+
**Returns:**
|
|
82
|
+
- List of all subgraphs for the parent graph
|
|
83
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
102
84
|
|
|
103
85
|
Args:
|
|
104
|
-
graph_id (str): Parent graph
|
|
86
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
105
87
|
authorization (Union[None, Unset, str]):
|
|
106
88
|
auth_token (Union[None, Unset, str]):
|
|
107
89
|
|
|
@@ -110,7 +92,7 @@ def sync_detailed(
|
|
|
110
92
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
111
93
|
|
|
112
94
|
Returns:
|
|
113
|
-
Response[Union[
|
|
95
|
+
Response[Union[HTTPValidationError, ListSubgraphsResponse]]
|
|
114
96
|
"""
|
|
115
97
|
|
|
116
98
|
kwargs = _get_kwargs(
|
|
@@ -132,28 +114,22 @@ def sync(
|
|
|
132
114
|
client: AuthenticatedClient,
|
|
133
115
|
authorization: Union[None, Unset, str] = UNSET,
|
|
134
116
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
135
|
-
) -> Optional[Union[
|
|
117
|
+
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
136
118
|
"""List Subgraphs
|
|
137
119
|
|
|
138
120
|
List all subgraphs for a parent graph.
|
|
139
121
|
|
|
140
122
|
**Requirements:**
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
- List of all subgraphs with metadata
|
|
145
|
-
- Current usage vs limits
|
|
146
|
-
- Size and statistics per subgraph
|
|
147
|
-
- Creation timestamps
|
|
123
|
+
- Valid authentication
|
|
124
|
+
- Parent graph must exist and be accessible to the user
|
|
125
|
+
- User must have at least 'read' permission on the parent graph
|
|
148
126
|
|
|
149
|
-
**
|
|
150
|
-
|
|
151
|
-
-
|
|
152
|
-
- Filtering by creation date
|
|
153
|
-
- Pagination for large lists
|
|
127
|
+
**Returns:**
|
|
128
|
+
- List of all subgraphs for the parent graph
|
|
129
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
154
130
|
|
|
155
131
|
Args:
|
|
156
|
-
graph_id (str): Parent graph
|
|
132
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
157
133
|
authorization (Union[None, Unset, str]):
|
|
158
134
|
auth_token (Union[None, Unset, str]):
|
|
159
135
|
|
|
@@ -162,7 +138,7 @@ def sync(
|
|
|
162
138
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
163
139
|
|
|
164
140
|
Returns:
|
|
165
|
-
Union[
|
|
141
|
+
Union[HTTPValidationError, ListSubgraphsResponse]
|
|
166
142
|
"""
|
|
167
143
|
|
|
168
144
|
return sync_detailed(
|
|
@@ -179,28 +155,22 @@ async def asyncio_detailed(
|
|
|
179
155
|
client: AuthenticatedClient,
|
|
180
156
|
authorization: Union[None, Unset, str] = UNSET,
|
|
181
157
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
182
|
-
) -> Response[Union[
|
|
158
|
+
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
183
159
|
"""List Subgraphs
|
|
184
160
|
|
|
185
161
|
List all subgraphs for a parent graph.
|
|
186
162
|
|
|
187
163
|
**Requirements:**
|
|
188
|
-
-
|
|
164
|
+
- Valid authentication
|
|
165
|
+
- Parent graph must exist and be accessible to the user
|
|
166
|
+
- User must have at least 'read' permission on the parent graph
|
|
189
167
|
|
|
190
|
-
**
|
|
191
|
-
- List of all subgraphs
|
|
192
|
-
-
|
|
193
|
-
- Size and statistics per subgraph
|
|
194
|
-
- Creation timestamps
|
|
195
|
-
|
|
196
|
-
**Filtering:**
|
|
197
|
-
Currently returns all subgraphs. Future versions will support:
|
|
198
|
-
- Filtering by status
|
|
199
|
-
- Filtering by creation date
|
|
200
|
-
- Pagination for large lists
|
|
168
|
+
**Returns:**
|
|
169
|
+
- List of all subgraphs for the parent graph
|
|
170
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
201
171
|
|
|
202
172
|
Args:
|
|
203
|
-
graph_id (str): Parent graph
|
|
173
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
204
174
|
authorization (Union[None, Unset, str]):
|
|
205
175
|
auth_token (Union[None, Unset, str]):
|
|
206
176
|
|
|
@@ -209,7 +179,7 @@ async def asyncio_detailed(
|
|
|
209
179
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
210
180
|
|
|
211
181
|
Returns:
|
|
212
|
-
Response[Union[
|
|
182
|
+
Response[Union[HTTPValidationError, ListSubgraphsResponse]]
|
|
213
183
|
"""
|
|
214
184
|
|
|
215
185
|
kwargs = _get_kwargs(
|
|
@@ -229,28 +199,22 @@ async def asyncio(
|
|
|
229
199
|
client: AuthenticatedClient,
|
|
230
200
|
authorization: Union[None, Unset, str] = UNSET,
|
|
231
201
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
232
|
-
) -> Optional[Union[
|
|
202
|
+
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
233
203
|
"""List Subgraphs
|
|
234
204
|
|
|
235
205
|
List all subgraphs for a parent graph.
|
|
236
206
|
|
|
237
207
|
**Requirements:**
|
|
238
|
-
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
- List of all subgraphs with metadata
|
|
242
|
-
- Current usage vs limits
|
|
243
|
-
- Size and statistics per subgraph
|
|
244
|
-
- Creation timestamps
|
|
208
|
+
- Valid authentication
|
|
209
|
+
- Parent graph must exist and be accessible to the user
|
|
210
|
+
- User must have at least 'read' permission on the parent graph
|
|
245
211
|
|
|
246
|
-
**
|
|
247
|
-
|
|
248
|
-
-
|
|
249
|
-
- Filtering by creation date
|
|
250
|
-
- Pagination for large lists
|
|
212
|
+
**Returns:**
|
|
213
|
+
- List of all subgraphs for the parent graph
|
|
214
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
251
215
|
|
|
252
216
|
Args:
|
|
253
|
-
graph_id (str): Parent graph
|
|
217
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
254
218
|
authorization (Union[None, Unset, str]):
|
|
255
219
|
auth_token (Union[None, Unset, str]):
|
|
256
220
|
|
|
@@ -259,7 +223,7 @@ async def asyncio(
|
|
|
259
223
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
260
224
|
|
|
261
225
|
Returns:
|
|
262
|
-
Union[
|
|
226
|
+
Union[HTTPValidationError, ListSubgraphsResponse]
|
|
263
227
|
"""
|
|
264
228
|
|
|
265
229
|
return (
|
|
@@ -14,7 +14,6 @@ from .auth_response_user import AuthResponseUser
|
|
|
14
14
|
from .available_extension import AvailableExtension
|
|
15
15
|
from .available_extensions_response import AvailableExtensionsResponse
|
|
16
16
|
from .backup_create_request import BackupCreateRequest
|
|
17
|
-
from .backup_export_request import BackupExportRequest
|
|
18
17
|
from .backup_list_response import BackupListResponse
|
|
19
18
|
from .backup_response import BackupResponse
|
|
20
19
|
from .backup_restore_request import BackupRestoreRequest
|
|
@@ -34,6 +33,9 @@ from .connection_provider_info_provider import ConnectionProviderInfoProvider
|
|
|
34
33
|
from .connection_response import ConnectionResponse
|
|
35
34
|
from .connection_response_metadata import ConnectionResponseMetadata
|
|
36
35
|
from .connection_response_provider import ConnectionResponseProvider
|
|
36
|
+
from .copy_response import CopyResponse
|
|
37
|
+
from .copy_response_error_details_type_0 import CopyResponseErrorDetailsType0
|
|
38
|
+
from .copy_response_status import CopyResponseStatus
|
|
37
39
|
from .create_api_key_request import CreateAPIKeyRequest
|
|
38
40
|
from .create_api_key_response import CreateAPIKeyResponse
|
|
39
41
|
from .create_connection_request import CreateConnectionRequest
|
|
@@ -41,7 +43,6 @@ from .create_connection_request_provider import CreateConnectionRequestProvider
|
|
|
41
43
|
from .create_graph_request import CreateGraphRequest
|
|
42
44
|
from .create_subgraph_request import CreateSubgraphRequest
|
|
43
45
|
from .create_subgraph_request_metadata_type_0 import CreateSubgraphRequestMetadataType0
|
|
44
|
-
from .credit_check_request import CreditCheckRequest
|
|
45
46
|
from .credit_summary import CreditSummary
|
|
46
47
|
from .credit_summary_response import CreditSummaryResponse
|
|
47
48
|
from .credits_summary_response import CreditsSummaryResponse
|
|
@@ -56,6 +57,8 @@ from .custom_schema_definition_relationships_item import (
|
|
|
56
57
|
)
|
|
57
58
|
from .cypher_query_request import CypherQueryRequest
|
|
58
59
|
from .cypher_query_request_parameters_type_0 import CypherQueryRequestParametersType0
|
|
60
|
+
from .data_frame_copy_request import DataFrameCopyRequest
|
|
61
|
+
from .data_frame_copy_request_format import DataFrameCopyRequestFormat
|
|
59
62
|
from .database_health_response import DatabaseHealthResponse
|
|
60
63
|
from .database_info_response import DatabaseInfoResponse
|
|
61
64
|
from .delete_subgraph_request import DeleteSubgraphRequest
|
|
@@ -90,6 +93,9 @@ from .get_current_graph_bill_response_getcurrentgraphbill import (
|
|
|
90
93
|
from .get_graph_billing_history_response_getgraphbillinghistory import (
|
|
91
94
|
GetGraphBillingHistoryResponseGetgraphbillinghistory,
|
|
92
95
|
)
|
|
96
|
+
from .get_graph_limits_response_getgraphlimits import (
|
|
97
|
+
GetGraphLimitsResponseGetgraphlimits,
|
|
98
|
+
)
|
|
93
99
|
from .get_graph_monthly_bill_response_getgraphmonthlybill import (
|
|
94
100
|
GetGraphMonthlyBillResponseGetgraphmonthlybill,
|
|
95
101
|
)
|
|
@@ -125,9 +131,6 @@ from .health_status import HealthStatus
|
|
|
125
131
|
from .health_status_details_type_0 import HealthStatusDetailsType0
|
|
126
132
|
from .http_validation_error import HTTPValidationError
|
|
127
133
|
from .initial_entity_data import InitialEntityData
|
|
128
|
-
from .kuzu_backup_health_response_kuzubackuphealth import (
|
|
129
|
-
KuzuBackupHealthResponseKuzubackuphealth,
|
|
130
|
-
)
|
|
131
134
|
from .link_token_request import LinkTokenRequest
|
|
132
135
|
from .link_token_request_options_type_0 import LinkTokenRequestOptionsType0
|
|
133
136
|
from .link_token_request_provider_type_0 import LinkTokenRequestProviderType0
|
|
@@ -166,6 +169,9 @@ from .repository_credits_response import RepositoryCreditsResponse
|
|
|
166
169
|
from .repository_plan import RepositoryPlan
|
|
167
170
|
from .repository_type import RepositoryType
|
|
168
171
|
from .response_mode import ResponseMode
|
|
172
|
+
from .s3_copy_request import S3CopyRequest
|
|
173
|
+
from .s3_copy_request_file_format import S3CopyRequestFileFormat
|
|
174
|
+
from .s3_copy_request_s3_url_style_type_0 import S3CopyRequestS3UrlStyleType0
|
|
169
175
|
from .schema_export_response import SchemaExportResponse
|
|
170
176
|
from .schema_export_response_data_stats_type_0 import SchemaExportResponseDataStatsType0
|
|
171
177
|
from .schema_export_response_schema_definition_type_0 import (
|
|
@@ -210,7 +216,9 @@ from .transaction_summary_response import TransactionSummaryResponse
|
|
|
210
216
|
from .update_api_key_request import UpdateAPIKeyRequest
|
|
211
217
|
from .update_password_request import UpdatePasswordRequest
|
|
212
218
|
from .update_user_request import UpdateUserRequest
|
|
213
|
-
from .
|
|
219
|
+
from .url_copy_request import URLCopyRequest
|
|
220
|
+
from .url_copy_request_file_format import URLCopyRequestFileFormat
|
|
221
|
+
from .url_copy_request_headers_type_0 import URLCopyRequestHeadersType0
|
|
214
222
|
from .user_analytics_response import UserAnalyticsResponse
|
|
215
223
|
from .user_analytics_response_api_usage import UserAnalyticsResponseApiUsage
|
|
216
224
|
from .user_analytics_response_graph_usage import UserAnalyticsResponseGraphUsage
|
|
@@ -247,7 +255,6 @@ __all__ = (
|
|
|
247
255
|
"AvailableExtension",
|
|
248
256
|
"AvailableExtensionsResponse",
|
|
249
257
|
"BackupCreateRequest",
|
|
250
|
-
"BackupExportRequest",
|
|
251
258
|
"BackupListResponse",
|
|
252
259
|
"BackupResponse",
|
|
253
260
|
"BackupRestoreRequest",
|
|
@@ -263,6 +270,9 @@ __all__ = (
|
|
|
263
270
|
"ConnectionResponse",
|
|
264
271
|
"ConnectionResponseMetadata",
|
|
265
272
|
"ConnectionResponseProvider",
|
|
273
|
+
"CopyResponse",
|
|
274
|
+
"CopyResponseErrorDetailsType0",
|
|
275
|
+
"CopyResponseStatus",
|
|
266
276
|
"CreateAPIKeyRequest",
|
|
267
277
|
"CreateAPIKeyResponse",
|
|
268
278
|
"CreateConnectionRequest",
|
|
@@ -270,7 +280,6 @@ __all__ = (
|
|
|
270
280
|
"CreateGraphRequest",
|
|
271
281
|
"CreateSubgraphRequest",
|
|
272
282
|
"CreateSubgraphRequestMetadataType0",
|
|
273
|
-
"CreditCheckRequest",
|
|
274
283
|
"CreditsSummaryResponse",
|
|
275
284
|
"CreditsSummaryResponseCreditsByAddonItem",
|
|
276
285
|
"CreditSummary",
|
|
@@ -283,6 +292,8 @@ __all__ = (
|
|
|
283
292
|
"CypherQueryRequestParametersType0",
|
|
284
293
|
"DatabaseHealthResponse",
|
|
285
294
|
"DatabaseInfoResponse",
|
|
295
|
+
"DataFrameCopyRequest",
|
|
296
|
+
"DataFrameCopyRequestFormat",
|
|
286
297
|
"DeleteSubgraphRequest",
|
|
287
298
|
"DeleteSubgraphResponse",
|
|
288
299
|
"DetailedTransactionsResponse",
|
|
@@ -299,6 +310,7 @@ __all__ = (
|
|
|
299
310
|
"GetCurrentAuthUserResponseGetcurrentauthuser",
|
|
300
311
|
"GetCurrentGraphBillResponseGetcurrentgraphbill",
|
|
301
312
|
"GetGraphBillingHistoryResponseGetgraphbillinghistory",
|
|
313
|
+
"GetGraphLimitsResponseGetgraphlimits",
|
|
302
314
|
"GetGraphMonthlyBillResponseGetgraphmonthlybill",
|
|
303
315
|
"GetGraphSchemaInfoResponseGetgraphschemainfo",
|
|
304
316
|
"GetGraphUsageDetailsResponseGetgraphusagedetails",
|
|
@@ -320,7 +332,6 @@ __all__ = (
|
|
|
320
332
|
"HealthStatusDetailsType0",
|
|
321
333
|
"HTTPValidationError",
|
|
322
334
|
"InitialEntityData",
|
|
323
|
-
"KuzuBackupHealthResponseKuzubackuphealth",
|
|
324
335
|
"LinkTokenRequest",
|
|
325
336
|
"LinkTokenRequestOptionsType0",
|
|
326
337
|
"LinkTokenRequestProviderType0",
|
|
@@ -351,6 +362,9 @@ __all__ = (
|
|
|
351
362
|
"RepositoryPlan",
|
|
352
363
|
"RepositoryType",
|
|
353
364
|
"ResponseMode",
|
|
365
|
+
"S3CopyRequest",
|
|
366
|
+
"S3CopyRequestFileFormat",
|
|
367
|
+
"S3CopyRequestS3UrlStyleType0",
|
|
354
368
|
"SchemaExportResponse",
|
|
355
369
|
"SchemaExportResponseDataStatsType0",
|
|
356
370
|
"SchemaExportResponseSchemaDefinitionType0",
|
|
@@ -385,7 +399,9 @@ __all__ = (
|
|
|
385
399
|
"UpdateAPIKeyRequest",
|
|
386
400
|
"UpdatePasswordRequest",
|
|
387
401
|
"UpdateUserRequest",
|
|
388
|
-
"
|
|
402
|
+
"URLCopyRequest",
|
|
403
|
+
"URLCopyRequestFileFormat",
|
|
404
|
+
"URLCopyRequestHeadersType0",
|
|
389
405
|
"UserAnalyticsResponse",
|
|
390
406
|
"UserAnalyticsResponseApiUsage",
|
|
391
407
|
"UserAnalyticsResponseGraphUsage",
|