robosystems-client 0.1.11__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/agent/query_financial_agent.py +4 -4
- 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/__init__.py +1 -0
- robosystems_client/api/{billing/upgrade_graph_subscription_v1_graph_id_billing_subscription_upgrade_post.py → subgraphs/create_subgraph.py} +82 -36
- robosystems_client/api/subgraphs/delete_subgraph.py +317 -0
- robosystems_client/api/subgraphs/get_subgraph_info.py +300 -0
- robosystems_client/api/subgraphs/get_subgraph_quota.py +276 -0
- robosystems_client/api/{billing/get_credit_billing_info_v1_graph_id_billing_credits_get.py → subgraphs/list_subgraphs.py} +58 -32
- robosystems_client/api/user/get_all_credit_summaries.py +1 -1
- robosystems_client/extensions/README.md +2 -6
- robosystems_client/models/__init__.py +46 -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/create_subgraph_request.py +185 -0
- robosystems_client/models/create_subgraph_request_metadata_type_0.py +44 -0
- robosystems_client/models/credit_summary_response.py +0 -8
- 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/delete_subgraph_request.py +89 -0
- robosystems_client/models/delete_subgraph_response.py +120 -0
- robosystems_client/models/get_graph_limits_response_getgraphlimits.py +44 -0
- robosystems_client/models/list_subgraphs_response.py +148 -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/subgraph_quota_response.py +158 -0
- robosystems_client/models/subgraph_response.py +279 -0
- robosystems_client/models/subgraph_response_metadata_type_0.py +44 -0
- robosystems_client/models/subgraph_summary.py +155 -0
- robosystems_client/models/subgraph_type.py +11 -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.11.dist-info → robosystems_client-0.1.13.dist-info}/METADATA +1 -1
- {robosystems_client-0.1.11.dist-info → robosystems_client-0.1.13.dist-info}/RECORD +62 -39
- 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_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/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.11.dist-info → robosystems_client-0.1.13.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union, cast
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
9
|
+
from ...models.subgraph_quota_response import SubgraphQuotaResponse
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
graph_id: str,
|
|
15
|
+
*,
|
|
16
|
+
authorization: Union[None, Unset, str] = UNSET,
|
|
17
|
+
auth_token: Union[None, Unset, str] = UNSET,
|
|
18
|
+
) -> dict[str, Any]:
|
|
19
|
+
headers: dict[str, Any] = {}
|
|
20
|
+
if not isinstance(authorization, Unset):
|
|
21
|
+
headers["authorization"] = authorization
|
|
22
|
+
|
|
23
|
+
cookies = {}
|
|
24
|
+
if auth_token is not UNSET:
|
|
25
|
+
cookies["auth-token"] = auth_token
|
|
26
|
+
|
|
27
|
+
_kwargs: dict[str, Any] = {
|
|
28
|
+
"method": "get",
|
|
29
|
+
"url": f"/v1/{graph_id}/subgraphs/quota",
|
|
30
|
+
"cookies": cookies,
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
_kwargs["headers"] = headers
|
|
34
|
+
return _kwargs
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _parse_response(
|
|
38
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
39
|
+
) -> Optional[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
40
|
+
if response.status_code == 200:
|
|
41
|
+
response_200 = SubgraphQuotaResponse.from_dict(response.json())
|
|
42
|
+
|
|
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
|
+
if response.status_code == 422:
|
|
57
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
58
|
+
|
|
59
|
+
return response_422
|
|
60
|
+
if client.raise_on_unexpected_status:
|
|
61
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
62
|
+
else:
|
|
63
|
+
return None
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def _build_response(
|
|
67
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
68
|
+
) -> Response[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
69
|
+
return Response(
|
|
70
|
+
status_code=HTTPStatus(response.status_code),
|
|
71
|
+
content=response.content,
|
|
72
|
+
headers=response.headers,
|
|
73
|
+
parsed=_parse_response(client=client, response=response),
|
|
74
|
+
)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def sync_detailed(
|
|
78
|
+
graph_id: str,
|
|
79
|
+
*,
|
|
80
|
+
client: AuthenticatedClient,
|
|
81
|
+
authorization: Union[None, Unset, str] = UNSET,
|
|
82
|
+
auth_token: Union[None, Unset, str] = UNSET,
|
|
83
|
+
) -> Response[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
84
|
+
"""Get Subgraph Quota
|
|
85
|
+
|
|
86
|
+
Get subgraph quota and usage information for a parent graph.
|
|
87
|
+
|
|
88
|
+
**Shows:**
|
|
89
|
+
- Current subgraph count
|
|
90
|
+
- Maximum allowed subgraphs per tier
|
|
91
|
+
- Remaining capacity
|
|
92
|
+
- Total size usage across all subgraphs
|
|
93
|
+
|
|
94
|
+
**Tier Limits:**
|
|
95
|
+
- Standard: 0 subgraphs (not supported)
|
|
96
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
97
|
+
- Premium: Unlimited subgraphs
|
|
98
|
+
- Limits are defined in deployment configuration
|
|
99
|
+
|
|
100
|
+
**Size Tracking:**
|
|
101
|
+
Provides aggregate size metrics when available.
|
|
102
|
+
Individual subgraph sizes shown in list endpoint.
|
|
103
|
+
|
|
104
|
+
Args:
|
|
105
|
+
graph_id (str): Parent graph identifier
|
|
106
|
+
authorization (Union[None, Unset, str]):
|
|
107
|
+
auth_token (Union[None, Unset, str]):
|
|
108
|
+
|
|
109
|
+
Raises:
|
|
110
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
111
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
112
|
+
|
|
113
|
+
Returns:
|
|
114
|
+
Response[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
kwargs = _get_kwargs(
|
|
118
|
+
graph_id=graph_id,
|
|
119
|
+
authorization=authorization,
|
|
120
|
+
auth_token=auth_token,
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
response = client.get_httpx_client().request(
|
|
124
|
+
**kwargs,
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
return _build_response(client=client, response=response)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
def sync(
|
|
131
|
+
graph_id: str,
|
|
132
|
+
*,
|
|
133
|
+
client: AuthenticatedClient,
|
|
134
|
+
authorization: Union[None, Unset, str] = UNSET,
|
|
135
|
+
auth_token: Union[None, Unset, str] = UNSET,
|
|
136
|
+
) -> Optional[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
137
|
+
"""Get Subgraph Quota
|
|
138
|
+
|
|
139
|
+
Get subgraph quota and usage information for a parent graph.
|
|
140
|
+
|
|
141
|
+
**Shows:**
|
|
142
|
+
- Current subgraph count
|
|
143
|
+
- Maximum allowed subgraphs per tier
|
|
144
|
+
- Remaining capacity
|
|
145
|
+
- Total size usage across all subgraphs
|
|
146
|
+
|
|
147
|
+
**Tier Limits:**
|
|
148
|
+
- Standard: 0 subgraphs (not supported)
|
|
149
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
150
|
+
- Premium: Unlimited subgraphs
|
|
151
|
+
- Limits are defined in deployment configuration
|
|
152
|
+
|
|
153
|
+
**Size Tracking:**
|
|
154
|
+
Provides aggregate size metrics when available.
|
|
155
|
+
Individual subgraph sizes shown in list endpoint.
|
|
156
|
+
|
|
157
|
+
Args:
|
|
158
|
+
graph_id (str): Parent graph identifier
|
|
159
|
+
authorization (Union[None, Unset, str]):
|
|
160
|
+
auth_token (Union[None, Unset, str]):
|
|
161
|
+
|
|
162
|
+
Raises:
|
|
163
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
164
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
165
|
+
|
|
166
|
+
Returns:
|
|
167
|
+
Union[Any, HTTPValidationError, SubgraphQuotaResponse]
|
|
168
|
+
"""
|
|
169
|
+
|
|
170
|
+
return sync_detailed(
|
|
171
|
+
graph_id=graph_id,
|
|
172
|
+
client=client,
|
|
173
|
+
authorization=authorization,
|
|
174
|
+
auth_token=auth_token,
|
|
175
|
+
).parsed
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
async def asyncio_detailed(
|
|
179
|
+
graph_id: str,
|
|
180
|
+
*,
|
|
181
|
+
client: AuthenticatedClient,
|
|
182
|
+
authorization: Union[None, Unset, str] = UNSET,
|
|
183
|
+
auth_token: Union[None, Unset, str] = UNSET,
|
|
184
|
+
) -> Response[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
185
|
+
"""Get Subgraph Quota
|
|
186
|
+
|
|
187
|
+
Get subgraph quota and usage information for a parent graph.
|
|
188
|
+
|
|
189
|
+
**Shows:**
|
|
190
|
+
- Current subgraph count
|
|
191
|
+
- Maximum allowed subgraphs per tier
|
|
192
|
+
- Remaining capacity
|
|
193
|
+
- Total size usage across all subgraphs
|
|
194
|
+
|
|
195
|
+
**Tier Limits:**
|
|
196
|
+
- Standard: 0 subgraphs (not supported)
|
|
197
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
198
|
+
- Premium: Unlimited subgraphs
|
|
199
|
+
- Limits are defined in deployment configuration
|
|
200
|
+
|
|
201
|
+
**Size Tracking:**
|
|
202
|
+
Provides aggregate size metrics when available.
|
|
203
|
+
Individual subgraph sizes shown in list endpoint.
|
|
204
|
+
|
|
205
|
+
Args:
|
|
206
|
+
graph_id (str): Parent graph identifier
|
|
207
|
+
authorization (Union[None, Unset, str]):
|
|
208
|
+
auth_token (Union[None, Unset, str]):
|
|
209
|
+
|
|
210
|
+
Raises:
|
|
211
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
212
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
213
|
+
|
|
214
|
+
Returns:
|
|
215
|
+
Response[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]
|
|
216
|
+
"""
|
|
217
|
+
|
|
218
|
+
kwargs = _get_kwargs(
|
|
219
|
+
graph_id=graph_id,
|
|
220
|
+
authorization=authorization,
|
|
221
|
+
auth_token=auth_token,
|
|
222
|
+
)
|
|
223
|
+
|
|
224
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
225
|
+
|
|
226
|
+
return _build_response(client=client, response=response)
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
async def asyncio(
|
|
230
|
+
graph_id: str,
|
|
231
|
+
*,
|
|
232
|
+
client: AuthenticatedClient,
|
|
233
|
+
authorization: Union[None, Unset, str] = UNSET,
|
|
234
|
+
auth_token: Union[None, Unset, str] = UNSET,
|
|
235
|
+
) -> Optional[Union[Any, HTTPValidationError, SubgraphQuotaResponse]]:
|
|
236
|
+
"""Get Subgraph Quota
|
|
237
|
+
|
|
238
|
+
Get subgraph quota and usage information for a parent graph.
|
|
239
|
+
|
|
240
|
+
**Shows:**
|
|
241
|
+
- Current subgraph count
|
|
242
|
+
- Maximum allowed subgraphs per tier
|
|
243
|
+
- Remaining capacity
|
|
244
|
+
- Total size usage across all subgraphs
|
|
245
|
+
|
|
246
|
+
**Tier Limits:**
|
|
247
|
+
- Standard: 0 subgraphs (not supported)
|
|
248
|
+
- Enterprise: Configurable limit (default: 10 subgraphs)
|
|
249
|
+
- Premium: Unlimited subgraphs
|
|
250
|
+
- Limits are defined in deployment configuration
|
|
251
|
+
|
|
252
|
+
**Size Tracking:**
|
|
253
|
+
Provides aggregate size metrics when available.
|
|
254
|
+
Individual subgraph sizes shown in list endpoint.
|
|
255
|
+
|
|
256
|
+
Args:
|
|
257
|
+
graph_id (str): Parent graph identifier
|
|
258
|
+
authorization (Union[None, Unset, str]):
|
|
259
|
+
auth_token (Union[None, Unset, str]):
|
|
260
|
+
|
|
261
|
+
Raises:
|
|
262
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
263
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
264
|
+
|
|
265
|
+
Returns:
|
|
266
|
+
Union[Any, HTTPValidationError, SubgraphQuotaResponse]
|
|
267
|
+
"""
|
|
268
|
+
|
|
269
|
+
return (
|
|
270
|
+
await asyncio_detailed(
|
|
271
|
+
graph_id=graph_id,
|
|
272
|
+
client=client,
|
|
273
|
+
authorization=authorization,
|
|
274
|
+
auth_token=auth_token,
|
|
275
|
+
)
|
|
276
|
+
).parsed
|
|
@@ -6,6 +6,7 @@ import httpx
|
|
|
6
6
|
from ... import errors
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
8
|
from ...models.http_validation_error import HTTPValidationError
|
|
9
|
+
from ...models.list_subgraphs_response import ListSubgraphsResponse
|
|
9
10
|
from ...types import UNSET, Response, Unset
|
|
10
11
|
|
|
11
12
|
|
|
@@ -25,7 +26,7 @@ def _get_kwargs(
|
|
|
25
26
|
|
|
26
27
|
_kwargs: dict[str, Any] = {
|
|
27
28
|
"method": "get",
|
|
28
|
-
"url": f"/v1/{graph_id}/
|
|
29
|
+
"url": f"/v1/{graph_id}/subgraphs",
|
|
29
30
|
"cookies": cookies,
|
|
30
31
|
}
|
|
31
32
|
|
|
@@ -35,9 +36,10 @@ def _get_kwargs(
|
|
|
35
36
|
|
|
36
37
|
def _parse_response(
|
|
37
38
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
38
|
-
) -> Optional[Union[
|
|
39
|
+
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
39
40
|
if response.status_code == 200:
|
|
40
|
-
response_200 = response.json()
|
|
41
|
+
response_200 = ListSubgraphsResponse.from_dict(response.json())
|
|
42
|
+
|
|
41
43
|
return response_200
|
|
42
44
|
if response.status_code == 422:
|
|
43
45
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
@@ -51,7 +53,7 @@ def _parse_response(
|
|
|
51
53
|
|
|
52
54
|
def _build_response(
|
|
53
55
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
54
|
-
) -> Response[Union[
|
|
56
|
+
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
55
57
|
return Response(
|
|
56
58
|
status_code=HTTPStatus(response.status_code),
|
|
57
59
|
content=response.content,
|
|
@@ -66,16 +68,22 @@ def sync_detailed(
|
|
|
66
68
|
client: AuthenticatedClient,
|
|
67
69
|
authorization: Union[None, Unset, str] = UNSET,
|
|
68
70
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
69
|
-
) -> Response[Union[
|
|
70
|
-
"""
|
|
71
|
+
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
72
|
+
"""List Subgraphs
|
|
73
|
+
|
|
74
|
+
List all subgraphs for a parent graph.
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
**Requirements:**
|
|
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
|
|
73
80
|
|
|
74
|
-
|
|
75
|
-
|
|
81
|
+
**Returns:**
|
|
82
|
+
- List of all subgraphs for the parent graph
|
|
83
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
76
84
|
|
|
77
85
|
Args:
|
|
78
|
-
graph_id (str):
|
|
86
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
79
87
|
authorization (Union[None, Unset, str]):
|
|
80
88
|
auth_token (Union[None, Unset, str]):
|
|
81
89
|
|
|
@@ -84,7 +92,7 @@ def sync_detailed(
|
|
|
84
92
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
85
93
|
|
|
86
94
|
Returns:
|
|
87
|
-
Response[Union[
|
|
95
|
+
Response[Union[HTTPValidationError, ListSubgraphsResponse]]
|
|
88
96
|
"""
|
|
89
97
|
|
|
90
98
|
kwargs = _get_kwargs(
|
|
@@ -106,16 +114,22 @@ def sync(
|
|
|
106
114
|
client: AuthenticatedClient,
|
|
107
115
|
authorization: Union[None, Unset, str] = UNSET,
|
|
108
116
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
109
|
-
) -> Optional[Union[
|
|
110
|
-
"""
|
|
117
|
+
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
118
|
+
"""List Subgraphs
|
|
119
|
+
|
|
120
|
+
List all subgraphs for a parent graph.
|
|
111
121
|
|
|
112
|
-
|
|
122
|
+
**Requirements:**
|
|
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
|
|
113
126
|
|
|
114
|
-
|
|
115
|
-
|
|
127
|
+
**Returns:**
|
|
128
|
+
- List of all subgraphs for the parent graph
|
|
129
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
116
130
|
|
|
117
131
|
Args:
|
|
118
|
-
graph_id (str):
|
|
132
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
119
133
|
authorization (Union[None, Unset, str]):
|
|
120
134
|
auth_token (Union[None, Unset, str]):
|
|
121
135
|
|
|
@@ -124,7 +138,7 @@ def sync(
|
|
|
124
138
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
125
139
|
|
|
126
140
|
Returns:
|
|
127
|
-
Union[
|
|
141
|
+
Union[HTTPValidationError, ListSubgraphsResponse]
|
|
128
142
|
"""
|
|
129
143
|
|
|
130
144
|
return sync_detailed(
|
|
@@ -141,16 +155,22 @@ async def asyncio_detailed(
|
|
|
141
155
|
client: AuthenticatedClient,
|
|
142
156
|
authorization: Union[None, Unset, str] = UNSET,
|
|
143
157
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
144
|
-
) -> Response[Union[
|
|
145
|
-
"""
|
|
158
|
+
) -> Response[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
159
|
+
"""List Subgraphs
|
|
146
160
|
|
|
147
|
-
|
|
161
|
+
List all subgraphs for a parent graph.
|
|
148
162
|
|
|
149
|
-
|
|
150
|
-
|
|
163
|
+
**Requirements:**
|
|
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
|
|
167
|
+
|
|
168
|
+
**Returns:**
|
|
169
|
+
- List of all subgraphs for the parent graph
|
|
170
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
151
171
|
|
|
152
172
|
Args:
|
|
153
|
-
graph_id (str):
|
|
173
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
154
174
|
authorization (Union[None, Unset, str]):
|
|
155
175
|
auth_token (Union[None, Unset, str]):
|
|
156
176
|
|
|
@@ -159,7 +179,7 @@ async def asyncio_detailed(
|
|
|
159
179
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
160
180
|
|
|
161
181
|
Returns:
|
|
162
|
-
Response[Union[
|
|
182
|
+
Response[Union[HTTPValidationError, ListSubgraphsResponse]]
|
|
163
183
|
"""
|
|
164
184
|
|
|
165
185
|
kwargs = _get_kwargs(
|
|
@@ -179,16 +199,22 @@ async def asyncio(
|
|
|
179
199
|
client: AuthenticatedClient,
|
|
180
200
|
authorization: Union[None, Unset, str] = UNSET,
|
|
181
201
|
auth_token: Union[None, Unset, str] = UNSET,
|
|
182
|
-
) -> Optional[Union[
|
|
183
|
-
"""
|
|
202
|
+
) -> Optional[Union[HTTPValidationError, ListSubgraphsResponse]]:
|
|
203
|
+
"""List Subgraphs
|
|
204
|
+
|
|
205
|
+
List all subgraphs for a parent graph.
|
|
184
206
|
|
|
185
|
-
|
|
207
|
+
**Requirements:**
|
|
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
|
|
186
211
|
|
|
187
|
-
|
|
188
|
-
|
|
212
|
+
**Returns:**
|
|
213
|
+
- List of all subgraphs for the parent graph
|
|
214
|
+
- Each subgraph includes its ID, name, description, type, status, and creation date
|
|
189
215
|
|
|
190
216
|
Args:
|
|
191
|
-
graph_id (str):
|
|
217
|
+
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
192
218
|
authorization (Union[None, Unset, str]):
|
|
193
219
|
auth_token (Union[None, Unset, str]):
|
|
194
220
|
|
|
@@ -197,7 +223,7 @@ async def asyncio(
|
|
|
197
223
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
198
224
|
|
|
199
225
|
Returns:
|
|
200
|
-
Union[
|
|
226
|
+
Union[HTTPValidationError, ListSubgraphsResponse]
|
|
201
227
|
"""
|
|
202
228
|
|
|
203
229
|
return (
|
|
@@ -599,13 +599,9 @@ MIT License - see [LICENSE](LICENSE) file for details.
|
|
|
599
599
|
|
|
600
600
|
## 📞 Support
|
|
601
601
|
|
|
602
|
-
- **
|
|
603
|
-
- **
|
|
604
|
-
- **Issues**: [GitHub Issues](https://github.com/robosystems/python-sdk/issues)
|
|
605
|
-
- **Email**: hello@robosystems.ai
|
|
602
|
+
- **API Reference**: [api.robosystems.ai](https://api.robosystems.ai)
|
|
603
|
+
- **Issues**: [GitHub Issues](https://github.com/RoboFinSystems/robosystems-python-client/issues)
|
|
606
604
|
|
|
607
605
|
---
|
|
608
606
|
|
|
609
607
|
**RoboSystems Python Client Extensions** - Production-ready streaming, monitoring, and query capabilities for financial knowledge graphs.
|
|
610
|
-
|
|
611
|
-
*Built with ❤️ by the RoboSystems team*
|
|
@@ -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,12 +33,16 @@ 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
|
|
40
42
|
from .create_connection_request_provider import CreateConnectionRequestProvider
|
|
41
43
|
from .create_graph_request import CreateGraphRequest
|
|
42
|
-
from .
|
|
44
|
+
from .create_subgraph_request import CreateSubgraphRequest
|
|
45
|
+
from .create_subgraph_request_metadata_type_0 import CreateSubgraphRequestMetadataType0
|
|
43
46
|
from .credit_summary import CreditSummary
|
|
44
47
|
from .credit_summary_response import CreditSummaryResponse
|
|
45
48
|
from .credits_summary_response import CreditsSummaryResponse
|
|
@@ -54,8 +57,12 @@ from .custom_schema_definition_relationships_item import (
|
|
|
54
57
|
)
|
|
55
58
|
from .cypher_query_request import CypherQueryRequest
|
|
56
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
|
|
57
62
|
from .database_health_response import DatabaseHealthResponse
|
|
58
63
|
from .database_info_response import DatabaseInfoResponse
|
|
64
|
+
from .delete_subgraph_request import DeleteSubgraphRequest
|
|
65
|
+
from .delete_subgraph_response import DeleteSubgraphResponse
|
|
59
66
|
from .detailed_transactions_response import DetailedTransactionsResponse
|
|
60
67
|
from .detailed_transactions_response_date_range import (
|
|
61
68
|
DetailedTransactionsResponseDateRange,
|
|
@@ -86,6 +93,9 @@ from .get_current_graph_bill_response_getcurrentgraphbill import (
|
|
|
86
93
|
from .get_graph_billing_history_response_getgraphbillinghistory import (
|
|
87
94
|
GetGraphBillingHistoryResponseGetgraphbillinghistory,
|
|
88
95
|
)
|
|
96
|
+
from .get_graph_limits_response_getgraphlimits import (
|
|
97
|
+
GetGraphLimitsResponseGetgraphlimits,
|
|
98
|
+
)
|
|
89
99
|
from .get_graph_monthly_bill_response_getgraphmonthlybill import (
|
|
90
100
|
GetGraphMonthlyBillResponseGetgraphmonthlybill,
|
|
91
101
|
)
|
|
@@ -121,9 +131,6 @@ from .health_status import HealthStatus
|
|
|
121
131
|
from .health_status_details_type_0 import HealthStatusDetailsType0
|
|
122
132
|
from .http_validation_error import HTTPValidationError
|
|
123
133
|
from .initial_entity_data import InitialEntityData
|
|
124
|
-
from .kuzu_backup_health_response_kuzubackuphealth import (
|
|
125
|
-
KuzuBackupHealthResponseKuzubackuphealth,
|
|
126
|
-
)
|
|
127
134
|
from .link_token_request import LinkTokenRequest
|
|
128
135
|
from .link_token_request_options_type_0 import LinkTokenRequestOptionsType0
|
|
129
136
|
from .link_token_request_provider_type_0 import LinkTokenRequestProviderType0
|
|
@@ -131,6 +138,7 @@ from .list_connections_provider_type_0 import ListConnectionsProviderType0
|
|
|
131
138
|
from .list_schema_extensions_response_listschemaextensions import (
|
|
132
139
|
ListSchemaExtensionsResponseListschemaextensions,
|
|
133
140
|
)
|
|
141
|
+
from .list_subgraphs_response import ListSubgraphsResponse
|
|
134
142
|
from .login_request import LoginRequest
|
|
135
143
|
from .logout_user_response_logoutuser import LogoutUserResponseLogoutuser
|
|
136
144
|
from .mcp_tool_call import MCPToolCall
|
|
@@ -161,6 +169,9 @@ from .repository_credits_response import RepositoryCreditsResponse
|
|
|
161
169
|
from .repository_plan import RepositoryPlan
|
|
162
170
|
from .repository_type import RepositoryType
|
|
163
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
|
|
164
175
|
from .schema_export_response import SchemaExportResponse
|
|
165
176
|
from .schema_export_response_data_stats_type_0 import SchemaExportResponseDataStatsType0
|
|
166
177
|
from .schema_export_response_schema_definition_type_0 import (
|
|
@@ -182,6 +193,11 @@ from .sso_exchange_response import SSOExchangeResponse
|
|
|
182
193
|
from .sso_login_request import SSOLoginRequest
|
|
183
194
|
from .sso_token_response import SSOTokenResponse
|
|
184
195
|
from .storage_limit_response import StorageLimitResponse
|
|
196
|
+
from .subgraph_quota_response import SubgraphQuotaResponse
|
|
197
|
+
from .subgraph_response import SubgraphResponse
|
|
198
|
+
from .subgraph_response_metadata_type_0 import SubgraphResponseMetadataType0
|
|
199
|
+
from .subgraph_summary import SubgraphSummary
|
|
200
|
+
from .subgraph_type import SubgraphType
|
|
185
201
|
from .subscription_info import SubscriptionInfo
|
|
186
202
|
from .subscription_info_metadata import SubscriptionInfoMetadata
|
|
187
203
|
from .subscription_request import SubscriptionRequest
|
|
@@ -200,7 +216,9 @@ from .transaction_summary_response import TransactionSummaryResponse
|
|
|
200
216
|
from .update_api_key_request import UpdateAPIKeyRequest
|
|
201
217
|
from .update_password_request import UpdatePasswordRequest
|
|
202
218
|
from .update_user_request import UpdateUserRequest
|
|
203
|
-
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
|
|
204
222
|
from .user_analytics_response import UserAnalyticsResponse
|
|
205
223
|
from .user_analytics_response_api_usage import UserAnalyticsResponseApiUsage
|
|
206
224
|
from .user_analytics_response_graph_usage import UserAnalyticsResponseGraphUsage
|
|
@@ -237,7 +255,6 @@ __all__ = (
|
|
|
237
255
|
"AvailableExtension",
|
|
238
256
|
"AvailableExtensionsResponse",
|
|
239
257
|
"BackupCreateRequest",
|
|
240
|
-
"BackupExportRequest",
|
|
241
258
|
"BackupListResponse",
|
|
242
259
|
"BackupResponse",
|
|
243
260
|
"BackupRestoreRequest",
|
|
@@ -253,12 +270,16 @@ __all__ = (
|
|
|
253
270
|
"ConnectionResponse",
|
|
254
271
|
"ConnectionResponseMetadata",
|
|
255
272
|
"ConnectionResponseProvider",
|
|
273
|
+
"CopyResponse",
|
|
274
|
+
"CopyResponseErrorDetailsType0",
|
|
275
|
+
"CopyResponseStatus",
|
|
256
276
|
"CreateAPIKeyRequest",
|
|
257
277
|
"CreateAPIKeyResponse",
|
|
258
278
|
"CreateConnectionRequest",
|
|
259
279
|
"CreateConnectionRequestProvider",
|
|
260
280
|
"CreateGraphRequest",
|
|
261
|
-
"
|
|
281
|
+
"CreateSubgraphRequest",
|
|
282
|
+
"CreateSubgraphRequestMetadataType0",
|
|
262
283
|
"CreditsSummaryResponse",
|
|
263
284
|
"CreditsSummaryResponseCreditsByAddonItem",
|
|
264
285
|
"CreditSummary",
|
|
@@ -271,6 +292,10 @@ __all__ = (
|
|
|
271
292
|
"CypherQueryRequestParametersType0",
|
|
272
293
|
"DatabaseHealthResponse",
|
|
273
294
|
"DatabaseInfoResponse",
|
|
295
|
+
"DataFrameCopyRequest",
|
|
296
|
+
"DataFrameCopyRequestFormat",
|
|
297
|
+
"DeleteSubgraphRequest",
|
|
298
|
+
"DeleteSubgraphResponse",
|
|
274
299
|
"DetailedTransactionsResponse",
|
|
275
300
|
"DetailedTransactionsResponseDateRange",
|
|
276
301
|
"DetailedTransactionsResponseSummary",
|
|
@@ -285,6 +310,7 @@ __all__ = (
|
|
|
285
310
|
"GetCurrentAuthUserResponseGetcurrentauthuser",
|
|
286
311
|
"GetCurrentGraphBillResponseGetcurrentgraphbill",
|
|
287
312
|
"GetGraphBillingHistoryResponseGetgraphbillinghistory",
|
|
313
|
+
"GetGraphLimitsResponseGetgraphlimits",
|
|
288
314
|
"GetGraphMonthlyBillResponseGetgraphmonthlybill",
|
|
289
315
|
"GetGraphSchemaInfoResponseGetgraphschemainfo",
|
|
290
316
|
"GetGraphUsageDetailsResponseGetgraphusagedetails",
|
|
@@ -306,12 +332,12 @@ __all__ = (
|
|
|
306
332
|
"HealthStatusDetailsType0",
|
|
307
333
|
"HTTPValidationError",
|
|
308
334
|
"InitialEntityData",
|
|
309
|
-
"KuzuBackupHealthResponseKuzubackuphealth",
|
|
310
335
|
"LinkTokenRequest",
|
|
311
336
|
"LinkTokenRequestOptionsType0",
|
|
312
337
|
"LinkTokenRequestProviderType0",
|
|
313
338
|
"ListConnectionsProviderType0",
|
|
314
339
|
"ListSchemaExtensionsResponseListschemaextensions",
|
|
340
|
+
"ListSubgraphsResponse",
|
|
315
341
|
"LoginRequest",
|
|
316
342
|
"LogoutUserResponseLogoutuser",
|
|
317
343
|
"MCPToolCall",
|
|
@@ -336,6 +362,9 @@ __all__ = (
|
|
|
336
362
|
"RepositoryPlan",
|
|
337
363
|
"RepositoryType",
|
|
338
364
|
"ResponseMode",
|
|
365
|
+
"S3CopyRequest",
|
|
366
|
+
"S3CopyRequestFileFormat",
|
|
367
|
+
"S3CopyRequestS3UrlStyleType0",
|
|
339
368
|
"SchemaExportResponse",
|
|
340
369
|
"SchemaExportResponseDataStatsType0",
|
|
341
370
|
"SchemaExportResponseSchemaDefinitionType0",
|
|
@@ -351,6 +380,11 @@ __all__ = (
|
|
|
351
380
|
"SSOLoginRequest",
|
|
352
381
|
"SSOTokenResponse",
|
|
353
382
|
"StorageLimitResponse",
|
|
383
|
+
"SubgraphQuotaResponse",
|
|
384
|
+
"SubgraphResponse",
|
|
385
|
+
"SubgraphResponseMetadataType0",
|
|
386
|
+
"SubgraphSummary",
|
|
387
|
+
"SubgraphType",
|
|
354
388
|
"SubscriptionInfo",
|
|
355
389
|
"SubscriptionInfoMetadata",
|
|
356
390
|
"SubscriptionRequest",
|
|
@@ -365,7 +399,9 @@ __all__ = (
|
|
|
365
399
|
"UpdateAPIKeyRequest",
|
|
366
400
|
"UpdatePasswordRequest",
|
|
367
401
|
"UpdateUserRequest",
|
|
368
|
-
"
|
|
402
|
+
"URLCopyRequest",
|
|
403
|
+
"URLCopyRequestFileFormat",
|
|
404
|
+
"URLCopyRequestHeadersType0",
|
|
369
405
|
"UserAnalyticsResponse",
|
|
370
406
|
"UserAnalyticsResponseApiUsage",
|
|
371
407
|
"UserAnalyticsResponseGraphUsage",
|