robosystems-client 0.2.3__py3-none-any.whl → 0.2.5__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/auto_select_agent.py +1 -41
- robosystems_client/api/agent/batch_process_queries.py +1 -41
- robosystems_client/api/agent/execute_specific_agent.py +1 -41
- robosystems_client/api/agent/get_agent_metadata.py +5 -49
- robosystems_client/api/agent/list_agents.py +4 -42
- robosystems_client/api/agent/recommend_agent.py +5 -45
- robosystems_client/api/auth/generate_sso_token.py +0 -18
- robosystems_client/api/auth/get_current_auth_user.py +14 -74
- robosystems_client/api/auth/logout_user.py +14 -50
- robosystems_client/api/auth/refresh_auth_session.py +14 -50
- robosystems_client/api/auth/resend_verification_email.py +14 -74
- robosystems_client/api/backup/create_backup.py +5 -45
- robosystems_client/api/backup/get_backup_download_url.py +4 -42
- robosystems_client/api/backup/get_backup_stats.py +5 -49
- robosystems_client/api/backup/list_backups.py +4 -42
- robosystems_client/api/backup/restore_backup.py +5 -45
- robosystems_client/api/connections/create_connection.py +5 -45
- robosystems_client/api/connections/create_link_token.py +5 -45
- robosystems_client/api/connections/delete_connection.py +5 -49
- robosystems_client/api/connections/exchange_link_token.py +5 -45
- robosystems_client/api/connections/get_connection.py +5 -49
- robosystems_client/api/connections/get_connection_options.py +5 -49
- robosystems_client/api/connections/init_o_auth.py +5 -45
- robosystems_client/api/connections/list_connections.py +4 -42
- robosystems_client/api/connections/oauth_callback.py +5 -45
- robosystems_client/api/connections/sync_connection.py +5 -45
- robosystems_client/api/graph_analytics/get_graph_metrics.py +5 -49
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +4 -42
- robosystems_client/api/graph_billing/get_current_graph_bill.py +5 -49
- robosystems_client/api/graph_billing/get_graph_billing_history.py +4 -42
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +5 -49
- robosystems_client/api/graph_billing/get_graph_usage_details.py +4 -42
- robosystems_client/api/graph_credits/check_credit_balance.py +0 -38
- robosystems_client/api/graph_credits/check_storage_limits.py +1 -45
- robosystems_client/api/graph_credits/get_credit_summary.py +1 -45
- robosystems_client/api/graph_credits/get_storage_usage.py +0 -38
- robosystems_client/api/graph_credits/list_credit_transactions.py +4 -42
- robosystems_client/api/graph_health/get_database_health.py +5 -49
- robosystems_client/api/graph_info/get_database_info.py +5 -49
- robosystems_client/api/graph_limits/get_graph_limits.py +5 -49
- robosystems_client/api/graphs/create_graph.py +21 -57
- robosystems_client/api/graphs/get_available_extensions.py +131 -15
- robosystems_client/api/graphs/get_graphs.py +154 -79
- robosystems_client/api/graphs/select_graph.py +117 -49
- robosystems_client/api/mcp/call_mcp_tool.py +24 -47
- robosystems_client/api/mcp/list_mcp_tools.py +13 -61
- robosystems_client/api/operations/cancel_operation.py +1 -45
- robosystems_client/api/operations/get_operation_status.py +1 -45
- robosystems_client/api/query/execute_cypher_query.py +69 -53
- robosystems_client/api/schema/export_graph_schema.py +223 -65
- robosystems_client/api/schema/get_graph_schema.py +137 -79
- robosystems_client/api/schema/validate_schema.py +5 -45
- robosystems_client/api/subgraphs/create_subgraph.py +5 -45
- robosystems_client/api/subgraphs/delete_subgraph.py +5 -45
- robosystems_client/api/subgraphs/get_subgraph_info.py +5 -49
- robosystems_client/api/subgraphs/get_subgraph_quota.py +5 -49
- robosystems_client/api/subgraphs/list_subgraphs.py +5 -49
- robosystems_client/api/tables/delete_file.py +181 -301
- robosystems_client/api/tables/get_file_info.py +117 -265
- robosystems_client/api/tables/get_upload_url.py +193 -389
- robosystems_client/api/tables/ingest_tables.py +277 -465
- robosystems_client/api/tables/list_table_files.py +193 -373
- robosystems_client/api/tables/list_tables.py +189 -361
- robosystems_client/api/tables/query_tables.py +85 -141
- robosystems_client/api/tables/update_file_status.py +205 -349
- robosystems_client/api/user/create_user_api_key.py +1 -41
- robosystems_client/api/user/get_all_credit_summaries.py +14 -111
- robosystems_client/api/user/get_current_user.py +14 -75
- robosystems_client/api/user/list_user_api_keys.py +14 -75
- robosystems_client/api/user/revoke_user_api_key.py +1 -45
- robosystems_client/api/user/update_user.py +1 -41
- robosystems_client/api/user/update_user_api_key.py +1 -41
- robosystems_client/api/user/update_user_password.py +1 -41
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -38
- robosystems_client/api/user_analytics/get_user_usage_overview.py +14 -75
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +14 -105
- robosystems_client/api/user_limits/get_shared_repository_limits.py +1 -45
- robosystems_client/api/user_limits/get_user_limits.py +14 -75
- robosystems_client/api/user_limits/get_user_usage.py +14 -75
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +1 -45
- robosystems_client/api/user_subscriptions/get_repository_credits.py +1 -45
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +14 -75
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -38
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +1 -41
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +1 -41
- robosystems_client/extensions/__init__.py +8 -1
- robosystems_client/extensions/auth_integration.py +1 -2
- robosystems_client/extensions/query_client.py +3 -2
- robosystems_client/extensions/sse_client.py +1 -1
- robosystems_client/extensions/table_ingest_client.py +5 -0
- robosystems_client/extensions/utils.py +2 -2
- robosystems_client/models/__init__.py +4 -4
- robosystems_client/models/auth_response.py +40 -0
- robosystems_client/models/create_graph_request.py +4 -3
- robosystems_client/models/cypher_query_request.py +5 -22
- robosystems_client/models/schema_export_response.py +4 -2
- robosystems_client/models/schema_info_response.py +77 -0
- robosystems_client/models/{get_graph_schema_response_getgraphschema.py → schema_info_response_schema.py} +6 -6
- robosystems_client/models/schema_validation_response.py +7 -6
- robosystems_client/models/table_query_request.py +37 -2
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/METADATA +2 -4
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/RECORD +104 -103
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.3.dist-info → robosystems_client-0.2.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -20,13 +20,7 @@ def _get_kwargs(
|
|
|
20
20
|
end_date: Union[None, Unset, str] = UNSET,
|
|
21
21
|
limit: Union[Unset, int] = 100,
|
|
22
22
|
offset: Union[Unset, int] = 0,
|
|
23
|
-
token: Union[None, Unset, str] = UNSET,
|
|
24
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
25
23
|
) -> dict[str, Any]:
|
|
26
|
-
headers: dict[str, Any] = {}
|
|
27
|
-
if not isinstance(authorization, Unset):
|
|
28
|
-
headers["authorization"] = authorization
|
|
29
|
-
|
|
30
24
|
params: dict[str, Any] = {}
|
|
31
25
|
|
|
32
26
|
json_transaction_type: Union[None, Unset, str]
|
|
@@ -61,13 +55,6 @@ def _get_kwargs(
|
|
|
61
55
|
|
|
62
56
|
params["offset"] = offset
|
|
63
57
|
|
|
64
|
-
json_token: Union[None, Unset, str]
|
|
65
|
-
if isinstance(token, Unset):
|
|
66
|
-
json_token = UNSET
|
|
67
|
-
else:
|
|
68
|
-
json_token = token
|
|
69
|
-
params["token"] = json_token
|
|
70
|
-
|
|
71
58
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
72
59
|
|
|
73
60
|
_kwargs: dict[str, Any] = {
|
|
@@ -76,7 +63,6 @@ def _get_kwargs(
|
|
|
76
63
|
"params": params,
|
|
77
64
|
}
|
|
78
65
|
|
|
79
|
-
_kwargs["headers"] = headers
|
|
80
66
|
return _kwargs
|
|
81
67
|
|
|
82
68
|
|
|
@@ -135,8 +121,6 @@ def sync_detailed(
|
|
|
135
121
|
end_date: Union[None, Unset, str] = UNSET,
|
|
136
122
|
limit: Union[Unset, int] = 100,
|
|
137
123
|
offset: Union[Unset, int] = 0,
|
|
138
|
-
token: Union[None, Unset, str] = UNSET,
|
|
139
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
140
124
|
) -> Response[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
141
125
|
"""List Credit Transactions
|
|
142
126
|
|
|
@@ -157,7 +141,7 @@ def sync_detailed(
|
|
|
157
141
|
No credits are consumed for viewing transaction history.
|
|
158
142
|
|
|
159
143
|
Args:
|
|
160
|
-
graph_id (str):
|
|
144
|
+
graph_id (str):
|
|
161
145
|
transaction_type (Union[None, Unset, str]): Filter by transaction type (allocation,
|
|
162
146
|
consumption, bonus, refund)
|
|
163
147
|
operation_type (Union[None, Unset, str]): Filter by operation type (e.g., entity_lookup,
|
|
@@ -166,8 +150,6 @@ def sync_detailed(
|
|
|
166
150
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
167
151
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
168
152
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
169
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
170
|
-
authorization (Union[None, Unset, str]):
|
|
171
153
|
|
|
172
154
|
Raises:
|
|
173
155
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -185,8 +167,6 @@ def sync_detailed(
|
|
|
185
167
|
end_date=end_date,
|
|
186
168
|
limit=limit,
|
|
187
169
|
offset=offset,
|
|
188
|
-
token=token,
|
|
189
|
-
authorization=authorization,
|
|
190
170
|
)
|
|
191
171
|
|
|
192
172
|
response = client.get_httpx_client().request(
|
|
@@ -206,8 +186,6 @@ def sync(
|
|
|
206
186
|
end_date: Union[None, Unset, str] = UNSET,
|
|
207
187
|
limit: Union[Unset, int] = 100,
|
|
208
188
|
offset: Union[Unset, int] = 0,
|
|
209
|
-
token: Union[None, Unset, str] = UNSET,
|
|
210
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
211
189
|
) -> Optional[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
212
190
|
"""List Credit Transactions
|
|
213
191
|
|
|
@@ -228,7 +206,7 @@ def sync(
|
|
|
228
206
|
No credits are consumed for viewing transaction history.
|
|
229
207
|
|
|
230
208
|
Args:
|
|
231
|
-
graph_id (str):
|
|
209
|
+
graph_id (str):
|
|
232
210
|
transaction_type (Union[None, Unset, str]): Filter by transaction type (allocation,
|
|
233
211
|
consumption, bonus, refund)
|
|
234
212
|
operation_type (Union[None, Unset, str]): Filter by operation type (e.g., entity_lookup,
|
|
@@ -237,8 +215,6 @@ def sync(
|
|
|
237
215
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
238
216
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
239
217
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
240
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
241
|
-
authorization (Union[None, Unset, str]):
|
|
242
218
|
|
|
243
219
|
Raises:
|
|
244
220
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -257,8 +233,6 @@ def sync(
|
|
|
257
233
|
end_date=end_date,
|
|
258
234
|
limit=limit,
|
|
259
235
|
offset=offset,
|
|
260
|
-
token=token,
|
|
261
|
-
authorization=authorization,
|
|
262
236
|
).parsed
|
|
263
237
|
|
|
264
238
|
|
|
@@ -272,8 +246,6 @@ async def asyncio_detailed(
|
|
|
272
246
|
end_date: Union[None, Unset, str] = UNSET,
|
|
273
247
|
limit: Union[Unset, int] = 100,
|
|
274
248
|
offset: Union[Unset, int] = 0,
|
|
275
|
-
token: Union[None, Unset, str] = UNSET,
|
|
276
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
277
249
|
) -> Response[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
278
250
|
"""List Credit Transactions
|
|
279
251
|
|
|
@@ -294,7 +266,7 @@ async def asyncio_detailed(
|
|
|
294
266
|
No credits are consumed for viewing transaction history.
|
|
295
267
|
|
|
296
268
|
Args:
|
|
297
|
-
graph_id (str):
|
|
269
|
+
graph_id (str):
|
|
298
270
|
transaction_type (Union[None, Unset, str]): Filter by transaction type (allocation,
|
|
299
271
|
consumption, bonus, refund)
|
|
300
272
|
operation_type (Union[None, Unset, str]): Filter by operation type (e.g., entity_lookup,
|
|
@@ -303,8 +275,6 @@ async def asyncio_detailed(
|
|
|
303
275
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
304
276
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
305
277
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
306
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
307
|
-
authorization (Union[None, Unset, str]):
|
|
308
278
|
|
|
309
279
|
Raises:
|
|
310
280
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -322,8 +292,6 @@ async def asyncio_detailed(
|
|
|
322
292
|
end_date=end_date,
|
|
323
293
|
limit=limit,
|
|
324
294
|
offset=offset,
|
|
325
|
-
token=token,
|
|
326
|
-
authorization=authorization,
|
|
327
295
|
)
|
|
328
296
|
|
|
329
297
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -341,8 +309,6 @@ async def asyncio(
|
|
|
341
309
|
end_date: Union[None, Unset, str] = UNSET,
|
|
342
310
|
limit: Union[Unset, int] = 100,
|
|
343
311
|
offset: Union[Unset, int] = 0,
|
|
344
|
-
token: Union[None, Unset, str] = UNSET,
|
|
345
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
346
312
|
) -> Optional[Union[DetailedTransactionsResponse, ErrorResponse, HTTPValidationError]]:
|
|
347
313
|
"""List Credit Transactions
|
|
348
314
|
|
|
@@ -363,7 +329,7 @@ async def asyncio(
|
|
|
363
329
|
No credits are consumed for viewing transaction history.
|
|
364
330
|
|
|
365
331
|
Args:
|
|
366
|
-
graph_id (str):
|
|
332
|
+
graph_id (str):
|
|
367
333
|
transaction_type (Union[None, Unset, str]): Filter by transaction type (allocation,
|
|
368
334
|
consumption, bonus, refund)
|
|
369
335
|
operation_type (Union[None, Unset, str]): Filter by operation type (e.g., entity_lookup,
|
|
@@ -372,8 +338,6 @@ async def asyncio(
|
|
|
372
338
|
end_date (Union[None, Unset, str]): End date for filtering (ISO format: YYYY-MM-DD)
|
|
373
339
|
limit (Union[Unset, int]): Maximum number of transactions to return Default: 100.
|
|
374
340
|
offset (Union[Unset, int]): Number of transactions to skip Default: 0.
|
|
375
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
376
|
-
authorization (Union[None, Unset, str]):
|
|
377
341
|
|
|
378
342
|
Raises:
|
|
379
343
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -393,7 +357,5 @@ async def asyncio(
|
|
|
393
357
|
end_date=end_date,
|
|
394
358
|
limit=limit,
|
|
395
359
|
offset=offset,
|
|
396
|
-
token=token,
|
|
397
|
-
authorization=authorization,
|
|
398
360
|
)
|
|
399
361
|
).parsed
|
|
@@ -7,37 +7,17 @@ from ... import errors
|
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
8
|
from ...models.database_health_response import DatabaseHealthResponse
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
|
-
from ...types import
|
|
10
|
+
from ...types import Response
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def _get_kwargs(
|
|
14
14
|
graph_id: str,
|
|
15
|
-
*,
|
|
16
|
-
token: Union[None, Unset, str] = UNSET,
|
|
17
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
18
15
|
) -> dict[str, Any]:
|
|
19
|
-
headers: dict[str, Any] = {}
|
|
20
|
-
if not isinstance(authorization, Unset):
|
|
21
|
-
headers["authorization"] = authorization
|
|
22
|
-
|
|
23
|
-
params: dict[str, Any] = {}
|
|
24
|
-
|
|
25
|
-
json_token: Union[None, Unset, str]
|
|
26
|
-
if isinstance(token, Unset):
|
|
27
|
-
json_token = UNSET
|
|
28
|
-
else:
|
|
29
|
-
json_token = token
|
|
30
|
-
params["token"] = json_token
|
|
31
|
-
|
|
32
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
33
|
-
|
|
34
16
|
_kwargs: dict[str, Any] = {
|
|
35
17
|
"method": "get",
|
|
36
18
|
"url": f"/v1/graphs/{graph_id}/health",
|
|
37
|
-
"params": params,
|
|
38
19
|
}
|
|
39
20
|
|
|
40
|
-
_kwargs["headers"] = headers
|
|
41
21
|
return _kwargs
|
|
42
22
|
|
|
43
23
|
|
|
@@ -87,8 +67,6 @@ def sync_detailed(
|
|
|
87
67
|
graph_id: str,
|
|
88
68
|
*,
|
|
89
69
|
client: AuthenticatedClient,
|
|
90
|
-
token: Union[None, Unset, str] = UNSET,
|
|
91
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
92
70
|
) -> Response[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
93
71
|
"""Database Health Check
|
|
94
72
|
|
|
@@ -111,9 +89,7 @@ def sync_detailed(
|
|
|
111
89
|
This endpoint provides essential monitoring data for operational visibility.
|
|
112
90
|
|
|
113
91
|
Args:
|
|
114
|
-
graph_id (str):
|
|
115
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
116
|
-
authorization (Union[None, Unset, str]):
|
|
92
|
+
graph_id (str):
|
|
117
93
|
|
|
118
94
|
Raises:
|
|
119
95
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -125,8 +101,6 @@ def sync_detailed(
|
|
|
125
101
|
|
|
126
102
|
kwargs = _get_kwargs(
|
|
127
103
|
graph_id=graph_id,
|
|
128
|
-
token=token,
|
|
129
|
-
authorization=authorization,
|
|
130
104
|
)
|
|
131
105
|
|
|
132
106
|
response = client.get_httpx_client().request(
|
|
@@ -140,8 +114,6 @@ def sync(
|
|
|
140
114
|
graph_id: str,
|
|
141
115
|
*,
|
|
142
116
|
client: AuthenticatedClient,
|
|
143
|
-
token: Union[None, Unset, str] = UNSET,
|
|
144
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
145
117
|
) -> Optional[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
146
118
|
"""Database Health Check
|
|
147
119
|
|
|
@@ -164,9 +136,7 @@ def sync(
|
|
|
164
136
|
This endpoint provides essential monitoring data for operational visibility.
|
|
165
137
|
|
|
166
138
|
Args:
|
|
167
|
-
graph_id (str):
|
|
168
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
169
|
-
authorization (Union[None, Unset, str]):
|
|
139
|
+
graph_id (str):
|
|
170
140
|
|
|
171
141
|
Raises:
|
|
172
142
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -179,8 +149,6 @@ def sync(
|
|
|
179
149
|
return sync_detailed(
|
|
180
150
|
graph_id=graph_id,
|
|
181
151
|
client=client,
|
|
182
|
-
token=token,
|
|
183
|
-
authorization=authorization,
|
|
184
152
|
).parsed
|
|
185
153
|
|
|
186
154
|
|
|
@@ -188,8 +156,6 @@ async def asyncio_detailed(
|
|
|
188
156
|
graph_id: str,
|
|
189
157
|
*,
|
|
190
158
|
client: AuthenticatedClient,
|
|
191
|
-
token: Union[None, Unset, str] = UNSET,
|
|
192
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
193
159
|
) -> Response[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
194
160
|
"""Database Health Check
|
|
195
161
|
|
|
@@ -212,9 +178,7 @@ async def asyncio_detailed(
|
|
|
212
178
|
This endpoint provides essential monitoring data for operational visibility.
|
|
213
179
|
|
|
214
180
|
Args:
|
|
215
|
-
graph_id (str):
|
|
216
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
217
|
-
authorization (Union[None, Unset, str]):
|
|
181
|
+
graph_id (str):
|
|
218
182
|
|
|
219
183
|
Raises:
|
|
220
184
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -226,8 +190,6 @@ async def asyncio_detailed(
|
|
|
226
190
|
|
|
227
191
|
kwargs = _get_kwargs(
|
|
228
192
|
graph_id=graph_id,
|
|
229
|
-
token=token,
|
|
230
|
-
authorization=authorization,
|
|
231
193
|
)
|
|
232
194
|
|
|
233
195
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -239,8 +201,6 @@ async def asyncio(
|
|
|
239
201
|
graph_id: str,
|
|
240
202
|
*,
|
|
241
203
|
client: AuthenticatedClient,
|
|
242
|
-
token: Union[None, Unset, str] = UNSET,
|
|
243
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
244
204
|
) -> Optional[Union[Any, DatabaseHealthResponse, HTTPValidationError]]:
|
|
245
205
|
"""Database Health Check
|
|
246
206
|
|
|
@@ -263,9 +223,7 @@ async def asyncio(
|
|
|
263
223
|
This endpoint provides essential monitoring data for operational visibility.
|
|
264
224
|
|
|
265
225
|
Args:
|
|
266
|
-
graph_id (str):
|
|
267
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
268
|
-
authorization (Union[None, Unset, str]):
|
|
226
|
+
graph_id (str):
|
|
269
227
|
|
|
270
228
|
Raises:
|
|
271
229
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -279,7 +237,5 @@ async def asyncio(
|
|
|
279
237
|
await asyncio_detailed(
|
|
280
238
|
graph_id=graph_id,
|
|
281
239
|
client=client,
|
|
282
|
-
token=token,
|
|
283
|
-
authorization=authorization,
|
|
284
240
|
)
|
|
285
241
|
).parsed
|
|
@@ -7,37 +7,17 @@ from ... import errors
|
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
8
|
from ...models.database_info_response import DatabaseInfoResponse
|
|
9
9
|
from ...models.http_validation_error import HTTPValidationError
|
|
10
|
-
from ...types import
|
|
10
|
+
from ...types import Response
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def _get_kwargs(
|
|
14
14
|
graph_id: str,
|
|
15
|
-
*,
|
|
16
|
-
token: Union[None, Unset, str] = UNSET,
|
|
17
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
18
15
|
) -> dict[str, Any]:
|
|
19
|
-
headers: dict[str, Any] = {}
|
|
20
|
-
if not isinstance(authorization, Unset):
|
|
21
|
-
headers["authorization"] = authorization
|
|
22
|
-
|
|
23
|
-
params: dict[str, Any] = {}
|
|
24
|
-
|
|
25
|
-
json_token: Union[None, Unset, str]
|
|
26
|
-
if isinstance(token, Unset):
|
|
27
|
-
json_token = UNSET
|
|
28
|
-
else:
|
|
29
|
-
json_token = token
|
|
30
|
-
params["token"] = json_token
|
|
31
|
-
|
|
32
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
33
|
-
|
|
34
16
|
_kwargs: dict[str, Any] = {
|
|
35
17
|
"method": "get",
|
|
36
18
|
"url": f"/v1/graphs/{graph_id}/info",
|
|
37
|
-
"params": params,
|
|
38
19
|
}
|
|
39
20
|
|
|
40
|
-
_kwargs["headers"] = headers
|
|
41
21
|
return _kwargs
|
|
42
22
|
|
|
43
23
|
|
|
@@ -87,8 +67,6 @@ def sync_detailed(
|
|
|
87
67
|
graph_id: str,
|
|
88
68
|
*,
|
|
89
69
|
client: AuthenticatedClient,
|
|
90
|
-
token: Union[None, Unset, str] = UNSET,
|
|
91
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
92
70
|
) -> Response[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
93
71
|
"""Database Information
|
|
94
72
|
|
|
@@ -112,9 +90,7 @@ def sync_detailed(
|
|
|
112
90
|
This endpoint provides essential database information for capacity planning and monitoring.
|
|
113
91
|
|
|
114
92
|
Args:
|
|
115
|
-
graph_id (str):
|
|
116
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
117
|
-
authorization (Union[None, Unset, str]):
|
|
93
|
+
graph_id (str):
|
|
118
94
|
|
|
119
95
|
Raises:
|
|
120
96
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -126,8 +102,6 @@ def sync_detailed(
|
|
|
126
102
|
|
|
127
103
|
kwargs = _get_kwargs(
|
|
128
104
|
graph_id=graph_id,
|
|
129
|
-
token=token,
|
|
130
|
-
authorization=authorization,
|
|
131
105
|
)
|
|
132
106
|
|
|
133
107
|
response = client.get_httpx_client().request(
|
|
@@ -141,8 +115,6 @@ def sync(
|
|
|
141
115
|
graph_id: str,
|
|
142
116
|
*,
|
|
143
117
|
client: AuthenticatedClient,
|
|
144
|
-
token: Union[None, Unset, str] = UNSET,
|
|
145
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
146
118
|
) -> Optional[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
147
119
|
"""Database Information
|
|
148
120
|
|
|
@@ -166,9 +138,7 @@ def sync(
|
|
|
166
138
|
This endpoint provides essential database information for capacity planning and monitoring.
|
|
167
139
|
|
|
168
140
|
Args:
|
|
169
|
-
graph_id (str):
|
|
170
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
171
|
-
authorization (Union[None, Unset, str]):
|
|
141
|
+
graph_id (str):
|
|
172
142
|
|
|
173
143
|
Raises:
|
|
174
144
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -181,8 +151,6 @@ def sync(
|
|
|
181
151
|
return sync_detailed(
|
|
182
152
|
graph_id=graph_id,
|
|
183
153
|
client=client,
|
|
184
|
-
token=token,
|
|
185
|
-
authorization=authorization,
|
|
186
154
|
).parsed
|
|
187
155
|
|
|
188
156
|
|
|
@@ -190,8 +158,6 @@ async def asyncio_detailed(
|
|
|
190
158
|
graph_id: str,
|
|
191
159
|
*,
|
|
192
160
|
client: AuthenticatedClient,
|
|
193
|
-
token: Union[None, Unset, str] = UNSET,
|
|
194
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
195
161
|
) -> Response[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
196
162
|
"""Database Information
|
|
197
163
|
|
|
@@ -215,9 +181,7 @@ async def asyncio_detailed(
|
|
|
215
181
|
This endpoint provides essential database information for capacity planning and monitoring.
|
|
216
182
|
|
|
217
183
|
Args:
|
|
218
|
-
graph_id (str):
|
|
219
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
220
|
-
authorization (Union[None, Unset, str]):
|
|
184
|
+
graph_id (str):
|
|
221
185
|
|
|
222
186
|
Raises:
|
|
223
187
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -229,8 +193,6 @@ async def asyncio_detailed(
|
|
|
229
193
|
|
|
230
194
|
kwargs = _get_kwargs(
|
|
231
195
|
graph_id=graph_id,
|
|
232
|
-
token=token,
|
|
233
|
-
authorization=authorization,
|
|
234
196
|
)
|
|
235
197
|
|
|
236
198
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -242,8 +204,6 @@ async def asyncio(
|
|
|
242
204
|
graph_id: str,
|
|
243
205
|
*,
|
|
244
206
|
client: AuthenticatedClient,
|
|
245
|
-
token: Union[None, Unset, str] = UNSET,
|
|
246
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
247
207
|
) -> Optional[Union[Any, DatabaseInfoResponse, HTTPValidationError]]:
|
|
248
208
|
"""Database Information
|
|
249
209
|
|
|
@@ -267,9 +227,7 @@ async def asyncio(
|
|
|
267
227
|
This endpoint provides essential database information for capacity planning and monitoring.
|
|
268
228
|
|
|
269
229
|
Args:
|
|
270
|
-
graph_id (str):
|
|
271
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
272
|
-
authorization (Union[None, Unset, str]):
|
|
230
|
+
graph_id (str):
|
|
273
231
|
|
|
274
232
|
Raises:
|
|
275
233
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -283,7 +241,5 @@ async def asyncio(
|
|
|
283
241
|
await asyncio_detailed(
|
|
284
242
|
graph_id=graph_id,
|
|
285
243
|
client=client,
|
|
286
|
-
token=token,
|
|
287
|
-
authorization=authorization,
|
|
288
244
|
)
|
|
289
245
|
).parsed
|
|
@@ -9,37 +9,17 @@ from ...models.get_graph_limits_response_getgraphlimits import (
|
|
|
9
9
|
GetGraphLimitsResponseGetgraphlimits,
|
|
10
10
|
)
|
|
11
11
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
|
-
from ...types import
|
|
12
|
+
from ...types import Response
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
graph_id: str,
|
|
17
|
-
*,
|
|
18
|
-
token: Union[None, Unset, str] = UNSET,
|
|
19
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
20
17
|
) -> dict[str, Any]:
|
|
21
|
-
headers: dict[str, Any] = {}
|
|
22
|
-
if not isinstance(authorization, Unset):
|
|
23
|
-
headers["authorization"] = authorization
|
|
24
|
-
|
|
25
|
-
params: dict[str, Any] = {}
|
|
26
|
-
|
|
27
|
-
json_token: Union[None, Unset, str]
|
|
28
|
-
if isinstance(token, Unset):
|
|
29
|
-
json_token = UNSET
|
|
30
|
-
else:
|
|
31
|
-
json_token = token
|
|
32
|
-
params["token"] = json_token
|
|
33
|
-
|
|
34
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
35
|
-
|
|
36
18
|
_kwargs: dict[str, Any] = {
|
|
37
19
|
"method": "get",
|
|
38
20
|
"url": f"/v1/graphs/{graph_id}/limits",
|
|
39
|
-
"params": params,
|
|
40
21
|
}
|
|
41
22
|
|
|
42
|
-
_kwargs["headers"] = headers
|
|
43
23
|
return _kwargs
|
|
44
24
|
|
|
45
25
|
|
|
@@ -89,8 +69,6 @@ def sync_detailed(
|
|
|
89
69
|
graph_id: str,
|
|
90
70
|
*,
|
|
91
71
|
client: AuthenticatedClient,
|
|
92
|
-
token: Union[None, Unset, str] = UNSET,
|
|
93
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
94
72
|
) -> Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
95
73
|
"""Get Graph Operational Limits
|
|
96
74
|
|
|
@@ -109,9 +87,7 @@ def sync_detailed(
|
|
|
109
87
|
**Note**: Limits vary based on subscription tier (Standard, Enterprise, Premium).
|
|
110
88
|
|
|
111
89
|
Args:
|
|
112
|
-
graph_id (str):
|
|
113
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
114
|
-
authorization (Union[None, Unset, str]):
|
|
90
|
+
graph_id (str):
|
|
115
91
|
|
|
116
92
|
Raises:
|
|
117
93
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -123,8 +99,6 @@ def sync_detailed(
|
|
|
123
99
|
|
|
124
100
|
kwargs = _get_kwargs(
|
|
125
101
|
graph_id=graph_id,
|
|
126
|
-
token=token,
|
|
127
|
-
authorization=authorization,
|
|
128
102
|
)
|
|
129
103
|
|
|
130
104
|
response = client.get_httpx_client().request(
|
|
@@ -138,8 +112,6 @@ def sync(
|
|
|
138
112
|
graph_id: str,
|
|
139
113
|
*,
|
|
140
114
|
client: AuthenticatedClient,
|
|
141
|
-
token: Union[None, Unset, str] = UNSET,
|
|
142
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
143
115
|
) -> Optional[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
144
116
|
"""Get Graph Operational Limits
|
|
145
117
|
|
|
@@ -158,9 +130,7 @@ def sync(
|
|
|
158
130
|
**Note**: Limits vary based on subscription tier (Standard, Enterprise, Premium).
|
|
159
131
|
|
|
160
132
|
Args:
|
|
161
|
-
graph_id (str):
|
|
162
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
163
|
-
authorization (Union[None, Unset, str]):
|
|
133
|
+
graph_id (str):
|
|
164
134
|
|
|
165
135
|
Raises:
|
|
166
136
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -173,8 +143,6 @@ def sync(
|
|
|
173
143
|
return sync_detailed(
|
|
174
144
|
graph_id=graph_id,
|
|
175
145
|
client=client,
|
|
176
|
-
token=token,
|
|
177
|
-
authorization=authorization,
|
|
178
146
|
).parsed
|
|
179
147
|
|
|
180
148
|
|
|
@@ -182,8 +150,6 @@ async def asyncio_detailed(
|
|
|
182
150
|
graph_id: str,
|
|
183
151
|
*,
|
|
184
152
|
client: AuthenticatedClient,
|
|
185
|
-
token: Union[None, Unset, str] = UNSET,
|
|
186
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
187
153
|
) -> Response[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
188
154
|
"""Get Graph Operational Limits
|
|
189
155
|
|
|
@@ -202,9 +168,7 @@ async def asyncio_detailed(
|
|
|
202
168
|
**Note**: Limits vary based on subscription tier (Standard, Enterprise, Premium).
|
|
203
169
|
|
|
204
170
|
Args:
|
|
205
|
-
graph_id (str):
|
|
206
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
207
|
-
authorization (Union[None, Unset, str]):
|
|
171
|
+
graph_id (str):
|
|
208
172
|
|
|
209
173
|
Raises:
|
|
210
174
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -216,8 +180,6 @@ async def asyncio_detailed(
|
|
|
216
180
|
|
|
217
181
|
kwargs = _get_kwargs(
|
|
218
182
|
graph_id=graph_id,
|
|
219
|
-
token=token,
|
|
220
|
-
authorization=authorization,
|
|
221
183
|
)
|
|
222
184
|
|
|
223
185
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -229,8 +191,6 @@ async def asyncio(
|
|
|
229
191
|
graph_id: str,
|
|
230
192
|
*,
|
|
231
193
|
client: AuthenticatedClient,
|
|
232
|
-
token: Union[None, Unset, str] = UNSET,
|
|
233
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
234
194
|
) -> Optional[Union[Any, GetGraphLimitsResponseGetgraphlimits, HTTPValidationError]]:
|
|
235
195
|
"""Get Graph Operational Limits
|
|
236
196
|
|
|
@@ -249,9 +209,7 @@ async def asyncio(
|
|
|
249
209
|
**Note**: Limits vary based on subscription tier (Standard, Enterprise, Premium).
|
|
250
210
|
|
|
251
211
|
Args:
|
|
252
|
-
graph_id (str):
|
|
253
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
254
|
-
authorization (Union[None, Unset, str]):
|
|
212
|
+
graph_id (str):
|
|
255
213
|
|
|
256
214
|
Raises:
|
|
257
215
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -265,7 +223,5 @@ async def asyncio(
|
|
|
265
223
|
await asyncio_detailed(
|
|
266
224
|
graph_id=graph_id,
|
|
267
225
|
client=client,
|
|
268
|
-
token=token,
|
|
269
|
-
authorization=authorization,
|
|
270
226
|
)
|
|
271
227
|
).parsed
|