robosystems-client 0.1.19__py3-none-any.whl → 0.2.0__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 +9 -3
- robosystems_client/api/agent/batch_process_queries.py +8 -3
- robosystems_client/api/agent/execute_specific_agent.py +10 -3
- robosystems_client/api/agent/get_agent_metadata.py +3 -0
- robosystems_client/api/agent/list_agents.py +3 -0
- robosystems_client/api/agent/recommend_agent.py +3 -0
- robosystems_client/api/auth/check_password_strength.py +2 -0
- robosystems_client/api/auth/complete_sso_auth.py +3 -0
- robosystems_client/api/auth/forgot_password.py +6 -3
- robosystems_client/api/auth/generate_sso_token.py +3 -0
- robosystems_client/api/auth/get_captcha_config.py +1 -0
- robosystems_client/api/auth/get_current_auth_user.py +3 -0
- robosystems_client/api/auth/get_password_policy.py +1 -0
- robosystems_client/api/auth/login_user.py +7 -3
- robosystems_client/api/auth/logout_user.py +2 -0
- robosystems_client/api/auth/refresh_auth_session.py +3 -0
- robosystems_client/api/auth/register_user.py +11 -6
- robosystems_client/api/auth/resend_verification_email.py +8 -3
- robosystems_client/api/auth/reset_password.py +3 -0
- robosystems_client/api/auth/sso_token_exchange.py +7 -3
- robosystems_client/api/auth/validate_reset_token.py +2 -0
- robosystems_client/api/auth/verify_email.py +3 -0
- robosystems_client/api/backup/create_backup.py +13 -7
- robosystems_client/api/backup/get_backup_download_url.py +8 -3
- robosystems_client/api/backup/get_backup_stats.py +2 -0
- robosystems_client/api/backup/list_backups.py +6 -4
- robosystems_client/api/backup/restore_backup.py +27 -8
- robosystems_client/api/connections/create_connection.py +13 -7
- robosystems_client/api/connections/create_link_token.py +8 -3
- robosystems_client/api/connections/delete_connection.py +12 -7
- robosystems_client/api/connections/exchange_link_token.py +8 -3
- robosystems_client/api/connections/get_connection.py +8 -3
- robosystems_client/api/connections/get_connection_options.py +7 -3
- robosystems_client/api/connections/init_o_auth.py +2 -0
- robosystems_client/api/connections/list_connections.py +7 -3
- robosystems_client/api/connections/oauth_callback.py +9 -3
- robosystems_client/api/connections/sync_connection.py +12 -7
- robosystems_client/api/graph_analytics/get_graph_metrics.py +12 -7
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +11 -7
- robosystems_client/api/graph_billing/get_current_graph_bill.py +8 -3
- robosystems_client/api/graph_billing/get_graph_billing_history.py +8 -3
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +9 -3
- robosystems_client/api/graph_billing/get_graph_usage_details.py +9 -3
- robosystems_client/api/graph_credits/check_credit_balance.py +8 -3
- robosystems_client/api/graph_credits/check_storage_limits.py +8 -3
- robosystems_client/api/graph_credits/get_credit_summary.py +8 -3
- robosystems_client/api/graph_credits/get_storage_usage.py +7 -3
- robosystems_client/api/graph_credits/list_credit_transactions.py +8 -3
- robosystems_client/api/graph_health/get_database_health.py +8 -3
- robosystems_client/api/graph_info/get_database_info.py +8 -3
- robosystems_client/api/graph_limits/get_graph_limits.py +8 -3
- robosystems_client/api/graphs/create_graph.py +6 -4
- robosystems_client/api/graphs/get_available_extensions.py +1 -0
- robosystems_client/api/graphs/get_graphs.py +2 -0
- robosystems_client/api/graphs/select_graph.py +8 -3
- robosystems_client/api/mcp/call_mcp_tool.py +17 -7
- robosystems_client/api/mcp/list_mcp_tools.py +11 -7
- robosystems_client/api/operations/cancel_operation.py +9 -3
- robosystems_client/api/operations/get_operation_status.py +8 -3
- robosystems_client/api/operations/stream_operation_events.py +8 -3
- robosystems_client/api/query/execute_cypher_query.py +48 -15
- robosystems_client/api/schema/export_graph_schema.py +2 -0
- robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
- robosystems_client/api/schema/validate_schema.py +9 -4
- robosystems_client/api/service_offerings/get_service_offerings.py +2 -0
- robosystems_client/api/status/get_service_status.py +1 -0
- robosystems_client/api/subgraphs/create_subgraph.py +2 -0
- robosystems_client/api/subgraphs/delete_subgraph.py +14 -6
- robosystems_client/api/subgraphs/get_subgraph_info.py +13 -6
- robosystems_client/api/subgraphs/get_subgraph_quota.py +9 -3
- robosystems_client/api/subgraphs/list_subgraphs.py +2 -0
- robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +287 -0
- robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +283 -0
- robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +260 -0
- robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +251 -0
- robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +283 -0
- robosystems_client/api/{backup/export_backup.py → tables/list_tables_v1_graphs_graph_id_tables_get.py} +36 -36
- robosystems_client/api/{schema/list_schema_extensions.py → tables/query_tables_v1_graphs_graph_id_tables_query_post.py} +67 -43
- robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +306 -0
- robosystems_client/api/user/create_user_api_key.py +2 -0
- robosystems_client/api/user/get_all_credit_summaries.py +6 -3
- robosystems_client/api/user/get_current_user.py +2 -0
- robosystems_client/api/user/list_user_api_keys.py +2 -0
- robosystems_client/api/user/revoke_user_api_key.py +7 -3
- robosystems_client/api/user/update_user.py +2 -0
- robosystems_client/api/user/update_user_api_key.py +2 -0
- robosystems_client/api/user/update_user_password.py +8 -3
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +2 -0
- robosystems_client/api/user_analytics/get_user_usage_overview.py +2 -0
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +2 -0
- robosystems_client/api/user_limits/get_shared_repository_limits.py +6 -4
- robosystems_client/api/user_limits/get_user_limits.py +3 -0
- robosystems_client/api/user_limits/get_user_usage.py +2 -0
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +11 -6
- robosystems_client/api/user_subscriptions/get_repository_credits.py +7 -3
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +7 -3
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +7 -3
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +8 -3
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +12 -6
- robosystems_client/extensions/README.md +1 -212
- robosystems_client/extensions/__init__.py +12 -28
- robosystems_client/extensions/extensions.py +3 -17
- robosystems_client/extensions/operation_client.py +12 -4
- robosystems_client/extensions/query_client.py +38 -24
- robosystems_client/extensions/sse_client.py +11 -0
- robosystems_client/extensions/table_ingest_client.py +466 -0
- robosystems_client/models/__init__.py +39 -29
- robosystems_client/models/backup_restore_request.py +1 -12
- robosystems_client/models/bulk_ingest_request.py +50 -0
- robosystems_client/models/bulk_ingest_response.py +137 -0
- robosystems_client/models/create_graph_request.py +4 -3
- robosystems_client/models/delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +47 -0
- robosystems_client/models/file_update_request.py +62 -0
- robosystems_client/models/file_upload_request.py +51 -0
- robosystems_client/models/file_upload_response.py +83 -0
- robosystems_client/models/{get_graph_schema_info_response_getgraphschemainfo.py → get_file_info_v1_graphs_graph_id_tables_files_file_id_get_response_get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py} +8 -5
- robosystems_client/models/{copy_response_error_details_type_0.py → get_graph_schema_response_getgraphschema.py} +5 -5
- robosystems_client/models/list_table_files_v1_graphs_graph_id_tables_table_name_files_get_response_list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +47 -0
- robosystems_client/models/table_info.py +107 -0
- robosystems_client/models/table_ingest_result.py +107 -0
- robosystems_client/models/table_list_response.py +81 -0
- robosystems_client/models/table_query_request.py +40 -0
- robosystems_client/models/table_query_response.py +92 -0
- robosystems_client/models/{list_schema_extensions_response_listschemaextensions.py → update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py} +8 -5
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.0.dist-info}/METADATA +15 -3
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.0.dist-info}/RECORD +129 -122
- robosystems_client/api/copy/copy_data_to_graph.py +0 -486
- robosystems_client/extensions/copy_client.py +0 -479
- robosystems_client/models/copy_response.py +0 -275
- robosystems_client/models/copy_response_status.py +0 -11
- robosystems_client/models/data_frame_copy_request.py +0 -125
- robosystems_client/models/data_frame_copy_request_format.py +0 -10
- robosystems_client/models/s3_copy_request.py +0 -378
- robosystems_client/models/s3_copy_request_file_format.py +0 -12
- robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +0 -9
- robosystems_client/models/url_copy_request.py +0 -157
- robosystems_client/models/url_copy_request_file_format.py +0 -10
- robosystems_client/models/url_copy_request_headers_type_0.py +0 -44
- /robosystems_client/api/{copy → tables}/__init__.py +0 -0
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.0.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -52,18 +52,22 @@ def _parse_response(
|
|
|
52
52
|
response_200 = GraphUsageResponse.from_dict(response.json())
|
|
53
53
|
|
|
54
54
|
return response_200
|
|
55
|
+
|
|
55
56
|
if response.status_code == 403:
|
|
56
57
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
57
58
|
|
|
58
59
|
return response_403
|
|
59
|
-
if response.status_code == 500:
|
|
60
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
61
60
|
|
|
62
|
-
return response_500
|
|
63
61
|
if response.status_code == 422:
|
|
64
62
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
65
63
|
|
|
66
64
|
return response_422
|
|
65
|
+
|
|
66
|
+
if response.status_code == 500:
|
|
67
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
68
|
+
|
|
69
|
+
return response_500
|
|
70
|
+
|
|
67
71
|
if client.raise_on_unexpected_status:
|
|
68
72
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
69
73
|
else:
|
|
@@ -113,7 +117,7 @@ def sync_detailed(
|
|
|
113
117
|
- Performance tuning
|
|
114
118
|
|
|
115
119
|
Note:
|
|
116
|
-
This operation is
|
|
120
|
+
This operation is included - no credit consumption required.
|
|
117
121
|
|
|
118
122
|
Args:
|
|
119
123
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -176,7 +180,7 @@ def sync(
|
|
|
176
180
|
- Performance tuning
|
|
177
181
|
|
|
178
182
|
Note:
|
|
179
|
-
This operation is
|
|
183
|
+
This operation is included - no credit consumption required.
|
|
180
184
|
|
|
181
185
|
Args:
|
|
182
186
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -234,7 +238,7 @@ async def asyncio_detailed(
|
|
|
234
238
|
- Performance tuning
|
|
235
239
|
|
|
236
240
|
Note:
|
|
237
|
-
This operation is
|
|
241
|
+
This operation is included - no credit consumption required.
|
|
238
242
|
|
|
239
243
|
Args:
|
|
240
244
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -295,7 +299,7 @@ async def asyncio(
|
|
|
295
299
|
- Performance tuning
|
|
296
300
|
|
|
297
301
|
Note:
|
|
298
|
-
This operation is
|
|
302
|
+
This operation is included - no credit consumption required.
|
|
299
303
|
|
|
300
304
|
Args:
|
|
301
305
|
graph_id (str): The graph ID to get usage stats for
|
|
@@ -57,22 +57,27 @@ def _parse_response(
|
|
|
57
57
|
)
|
|
58
58
|
|
|
59
59
|
return response_200
|
|
60
|
+
|
|
60
61
|
if response.status_code == 403:
|
|
61
62
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
62
63
|
|
|
63
64
|
return response_403
|
|
65
|
+
|
|
64
66
|
if response.status_code == 404:
|
|
65
67
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
66
68
|
|
|
67
69
|
return response_404
|
|
68
|
-
if response.status_code == 500:
|
|
69
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
70
|
|
|
71
|
-
return response_500
|
|
72
71
|
if response.status_code == 422:
|
|
73
72
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
74
73
|
|
|
75
74
|
return response_422
|
|
75
|
+
|
|
76
|
+
if response.status_code == 500:
|
|
77
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
78
|
+
|
|
79
|
+
return response_500
|
|
80
|
+
|
|
76
81
|
if client.raise_on_unexpected_status:
|
|
77
82
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
78
83
|
else:
|
|
@@ -62,22 +62,27 @@ def _parse_response(
|
|
|
62
62
|
)
|
|
63
63
|
|
|
64
64
|
return response_200
|
|
65
|
+
|
|
65
66
|
if response.status_code == 403:
|
|
66
67
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
67
68
|
|
|
68
69
|
return response_403
|
|
70
|
+
|
|
69
71
|
if response.status_code == 404:
|
|
70
72
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
71
73
|
|
|
72
74
|
return response_404
|
|
73
|
-
if response.status_code == 500:
|
|
74
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
75
75
|
|
|
76
|
-
return response_500
|
|
77
76
|
if response.status_code == 422:
|
|
78
77
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
79
78
|
|
|
80
79
|
return response_422
|
|
80
|
+
|
|
81
|
+
if response.status_code == 500:
|
|
82
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
83
|
+
|
|
84
|
+
return response_500
|
|
85
|
+
|
|
81
86
|
if client.raise_on_unexpected_status:
|
|
82
87
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
83
88
|
else:
|
|
@@ -59,26 +59,32 @@ def _parse_response(
|
|
|
59
59
|
)
|
|
60
60
|
|
|
61
61
|
return response_200
|
|
62
|
+
|
|
62
63
|
if response.status_code == 400:
|
|
63
64
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
64
65
|
|
|
65
66
|
return response_400
|
|
67
|
+
|
|
66
68
|
if response.status_code == 403:
|
|
67
69
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
68
70
|
|
|
69
71
|
return response_403
|
|
72
|
+
|
|
70
73
|
if response.status_code == 404:
|
|
71
74
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
72
75
|
|
|
73
76
|
return response_404
|
|
74
|
-
if response.status_code == 500:
|
|
75
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
76
77
|
|
|
77
|
-
return response_500
|
|
78
78
|
if response.status_code == 422:
|
|
79
79
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
80
80
|
|
|
81
81
|
return response_422
|
|
82
|
+
|
|
83
|
+
if response.status_code == 500:
|
|
84
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
85
|
+
|
|
86
|
+
return response_500
|
|
87
|
+
|
|
82
88
|
if client.raise_on_unexpected_status:
|
|
83
89
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
84
90
|
else:
|
|
@@ -73,26 +73,32 @@ def _parse_response(
|
|
|
73
73
|
)
|
|
74
74
|
|
|
75
75
|
return response_200
|
|
76
|
+
|
|
76
77
|
if response.status_code == 400:
|
|
77
78
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
78
79
|
|
|
79
80
|
return response_400
|
|
81
|
+
|
|
80
82
|
if response.status_code == 403:
|
|
81
83
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
82
84
|
|
|
83
85
|
return response_403
|
|
86
|
+
|
|
84
87
|
if response.status_code == 404:
|
|
85
88
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
86
89
|
|
|
87
90
|
return response_404
|
|
88
|
-
if response.status_code == 500:
|
|
89
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
90
91
|
|
|
91
|
-
return response_500
|
|
92
92
|
if response.status_code == 422:
|
|
93
93
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
94
94
|
|
|
95
95
|
return response_422
|
|
96
|
+
|
|
97
|
+
if response.status_code == 500:
|
|
98
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
99
|
+
|
|
100
|
+
return response_500
|
|
101
|
+
|
|
96
102
|
if client.raise_on_unexpected_status:
|
|
97
103
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
98
104
|
else:
|
|
@@ -68,22 +68,27 @@ def _parse_response(
|
|
|
68
68
|
)
|
|
69
69
|
|
|
70
70
|
return response_200
|
|
71
|
+
|
|
71
72
|
if response.status_code == 403:
|
|
72
73
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
73
74
|
|
|
74
75
|
return response_403
|
|
76
|
+
|
|
75
77
|
if response.status_code == 404:
|
|
76
78
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
77
79
|
|
|
78
80
|
return response_404
|
|
79
|
-
if response.status_code == 500:
|
|
80
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
81
81
|
|
|
82
|
-
return response_500
|
|
83
82
|
if response.status_code == 422:
|
|
84
83
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
85
84
|
|
|
86
85
|
return response_422
|
|
86
|
+
|
|
87
|
+
if response.status_code == 500:
|
|
88
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
89
|
+
|
|
90
|
+
return response_500
|
|
91
|
+
|
|
87
92
|
if client.raise_on_unexpected_status:
|
|
88
93
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
89
94
|
else:
|
|
@@ -49,22 +49,27 @@ def _parse_response(
|
|
|
49
49
|
response_200 = StorageLimitResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_404
|
|
60
|
-
if response.status_code == 500:
|
|
61
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
|
-
return response_500
|
|
64
63
|
if response.status_code == 422:
|
|
65
64
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
65
|
|
|
67
66
|
return response_422
|
|
67
|
+
|
|
68
|
+
if response.status_code == 500:
|
|
69
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
return response_500
|
|
72
|
+
|
|
68
73
|
if client.raise_on_unexpected_status:
|
|
69
74
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
75
|
else:
|
|
@@ -49,22 +49,27 @@ def _parse_response(
|
|
|
49
49
|
response_200 = CreditSummaryResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_404
|
|
60
|
-
if response.status_code == 500:
|
|
61
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
|
-
return response_500
|
|
64
63
|
if response.status_code == 422:
|
|
65
64
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
65
|
|
|
67
66
|
return response_422
|
|
67
|
+
|
|
68
|
+
if response.status_code == 500:
|
|
69
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
return response_500
|
|
72
|
+
|
|
68
73
|
if client.raise_on_unexpected_status:
|
|
69
74
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
75
|
else:
|
|
@@ -56,18 +56,22 @@ def _parse_response(
|
|
|
56
56
|
response_200 = GetStorageUsageResponseGetstorageusage.from_dict(response.json())
|
|
57
57
|
|
|
58
58
|
return response_200
|
|
59
|
+
|
|
59
60
|
if response.status_code == 403:
|
|
60
61
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
61
62
|
|
|
62
63
|
return response_403
|
|
63
|
-
if response.status_code == 500:
|
|
64
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
65
64
|
|
|
66
|
-
return response_500
|
|
67
65
|
if response.status_code == 422:
|
|
68
66
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
69
67
|
|
|
70
68
|
return response_422
|
|
69
|
+
|
|
70
|
+
if response.status_code == 500:
|
|
71
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
72
|
+
|
|
73
|
+
return response_500
|
|
74
|
+
|
|
71
75
|
if client.raise_on_unexpected_status:
|
|
72
76
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
73
77
|
else:
|
|
@@ -87,22 +87,27 @@ def _parse_response(
|
|
|
87
87
|
response_200 = DetailedTransactionsResponse.from_dict(response.json())
|
|
88
88
|
|
|
89
89
|
return response_200
|
|
90
|
+
|
|
90
91
|
if response.status_code == 400:
|
|
91
92
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
92
93
|
|
|
93
94
|
return response_400
|
|
95
|
+
|
|
94
96
|
if response.status_code == 403:
|
|
95
97
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
96
98
|
|
|
97
99
|
return response_403
|
|
98
|
-
if response.status_code == 500:
|
|
99
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
100
100
|
|
|
101
|
-
return response_500
|
|
102
101
|
if response.status_code == 422:
|
|
103
102
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
104
103
|
|
|
105
104
|
return response_422
|
|
105
|
+
|
|
106
|
+
if response.status_code == 500:
|
|
107
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
108
|
+
|
|
109
|
+
return response_500
|
|
110
|
+
|
|
106
111
|
if client.raise_on_unexpected_status:
|
|
107
112
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
108
113
|
else:
|
|
@@ -48,19 +48,24 @@ def _parse_response(
|
|
|
48
48
|
response_200 = DatabaseHealthResponse.from_dict(response.json())
|
|
49
49
|
|
|
50
50
|
return response_200
|
|
51
|
+
|
|
51
52
|
if response.status_code == 403:
|
|
52
53
|
response_403 = cast(Any, None)
|
|
53
54
|
return response_403
|
|
55
|
+
|
|
54
56
|
if response.status_code == 404:
|
|
55
57
|
response_404 = cast(Any, None)
|
|
56
58
|
return response_404
|
|
57
|
-
|
|
58
|
-
response_500 = cast(Any, None)
|
|
59
|
-
return response_500
|
|
59
|
+
|
|
60
60
|
if response.status_code == 422:
|
|
61
61
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
62
|
|
|
63
63
|
return response_422
|
|
64
|
+
|
|
65
|
+
if response.status_code == 500:
|
|
66
|
+
response_500 = cast(Any, None)
|
|
67
|
+
return response_500
|
|
68
|
+
|
|
64
69
|
if client.raise_on_unexpected_status:
|
|
65
70
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
71
|
else:
|
|
@@ -48,19 +48,24 @@ def _parse_response(
|
|
|
48
48
|
response_200 = DatabaseInfoResponse.from_dict(response.json())
|
|
49
49
|
|
|
50
50
|
return response_200
|
|
51
|
+
|
|
51
52
|
if response.status_code == 403:
|
|
52
53
|
response_403 = cast(Any, None)
|
|
53
54
|
return response_403
|
|
55
|
+
|
|
54
56
|
if response.status_code == 404:
|
|
55
57
|
response_404 = cast(Any, None)
|
|
56
58
|
return response_404
|
|
57
|
-
|
|
58
|
-
response_500 = cast(Any, None)
|
|
59
|
-
return response_500
|
|
59
|
+
|
|
60
60
|
if response.status_code == 422:
|
|
61
61
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
62
|
|
|
63
63
|
return response_422
|
|
64
|
+
|
|
65
|
+
if response.status_code == 500:
|
|
66
|
+
response_500 = cast(Any, None)
|
|
67
|
+
return response_500
|
|
68
|
+
|
|
64
69
|
if client.raise_on_unexpected_status:
|
|
65
70
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
71
|
else:
|
|
@@ -50,19 +50,24 @@ def _parse_response(
|
|
|
50
50
|
response_200 = GetGraphLimitsResponseGetgraphlimits.from_dict(response.json())
|
|
51
51
|
|
|
52
52
|
return response_200
|
|
53
|
+
|
|
53
54
|
if response.status_code == 403:
|
|
54
55
|
response_403 = cast(Any, None)
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = cast(Any, None)
|
|
58
60
|
return response_404
|
|
59
|
-
|
|
60
|
-
response_500 = cast(Any, None)
|
|
61
|
-
return response_500
|
|
61
|
+
|
|
62
62
|
if response.status_code == 422:
|
|
63
63
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
64
64
|
|
|
65
65
|
return response_422
|
|
66
|
+
|
|
67
|
+
if response.status_code == 500:
|
|
68
|
+
response_500 = cast(Any, None)
|
|
69
|
+
return response_500
|
|
70
|
+
|
|
66
71
|
if client.raise_on_unexpected_status:
|
|
67
72
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
68
73
|
else:
|
|
@@ -51,10 +51,12 @@ def _parse_response(
|
|
|
51
51
|
if response.status_code == 202:
|
|
52
52
|
response_202 = response.json()
|
|
53
53
|
return response_202
|
|
54
|
+
|
|
54
55
|
if response.status_code == 422:
|
|
55
56
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
56
57
|
|
|
57
58
|
return response_422
|
|
59
|
+
|
|
58
60
|
if client.raise_on_unexpected_status:
|
|
59
61
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
60
62
|
else:
|
|
@@ -127,7 +129,7 @@ def sync_detailed(
|
|
|
127
129
|
authorization (Union[None, Unset, str]):
|
|
128
130
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
129
131
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
130
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
132
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
131
133
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
132
134
|
['production', 'finance']}.
|
|
133
135
|
|
|
@@ -207,7 +209,7 @@ def sync(
|
|
|
207
209
|
authorization (Union[None, Unset, str]):
|
|
208
210
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
209
211
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
210
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
212
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
211
213
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
212
214
|
['production', 'finance']}.
|
|
213
215
|
|
|
@@ -282,7 +284,7 @@ async def asyncio_detailed(
|
|
|
282
284
|
authorization (Union[None, Unset, str]):
|
|
283
285
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
284
286
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
285
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
287
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
286
288
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
287
289
|
['production', 'finance']}.
|
|
288
290
|
|
|
@@ -360,7 +362,7 @@ async def asyncio(
|
|
|
360
362
|
authorization (Union[None, Unset, str]):
|
|
361
363
|
body (CreateGraphRequest): Request model for creating a new graph. Example:
|
|
362
364
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'},
|
|
363
|
-
'instance_tier': 'standard', 'metadata': {'description': 'Main production graph',
|
|
365
|
+
'instance_tier': 'kuzu-standard', 'metadata': {'description': 'Main production graph',
|
|
364
366
|
'graph_name': 'Production System', 'schema_extensions': ['roboledger']}, 'tags':
|
|
365
367
|
['production', 'finance']}.
|
|
366
368
|
|
|
@@ -47,10 +47,12 @@ def _parse_response(
|
|
|
47
47
|
response_200 = UserGraphsResponse.from_dict(response.json())
|
|
48
48
|
|
|
49
49
|
return response_200
|
|
50
|
+
|
|
50
51
|
if response.status_code == 422:
|
|
51
52
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
52
53
|
|
|
53
54
|
return response_422
|
|
55
|
+
|
|
54
56
|
if client.raise_on_unexpected_status:
|
|
55
57
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
56
58
|
else:
|
|
@@ -49,22 +49,27 @@ def _parse_response(
|
|
|
49
49
|
response_200 = SuccessResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
58
60
|
|
|
59
61
|
return response_404
|
|
60
|
-
if response.status_code == 500:
|
|
61
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
62
62
|
|
|
63
|
-
return response_500
|
|
64
63
|
if response.status_code == 422:
|
|
65
64
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
66
65
|
|
|
67
66
|
return response_422
|
|
67
|
+
|
|
68
|
+
if response.status_code == 500:
|
|
69
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
|
+
|
|
71
|
+
return response_500
|
|
72
|
+
|
|
68
73
|
if client.raise_on_unexpected_status:
|
|
69
74
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
70
75
|
else:
|
|
@@ -64,41 +64,51 @@ def _parse_response(
|
|
|
64
64
|
if response.status_code == 200:
|
|
65
65
|
response_200 = response.json()
|
|
66
66
|
return response_200
|
|
67
|
+
|
|
67
68
|
if response.status_code == 202:
|
|
68
69
|
response_202 = cast(Any, None)
|
|
69
70
|
return response_202
|
|
71
|
+
|
|
70
72
|
if response.status_code == 400:
|
|
71
73
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
72
74
|
|
|
73
75
|
return response_400
|
|
76
|
+
|
|
74
77
|
if response.status_code == 402:
|
|
75
78
|
response_402 = ErrorResponse.from_dict(response.json())
|
|
76
79
|
|
|
77
80
|
return response_402
|
|
81
|
+
|
|
78
82
|
if response.status_code == 403:
|
|
79
83
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
80
84
|
|
|
81
85
|
return response_403
|
|
86
|
+
|
|
82
87
|
if response.status_code == 408:
|
|
83
88
|
response_408 = ErrorResponse.from_dict(response.json())
|
|
84
89
|
|
|
85
90
|
return response_408
|
|
91
|
+
|
|
92
|
+
if response.status_code == 422:
|
|
93
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
94
|
+
|
|
95
|
+
return response_422
|
|
96
|
+
|
|
86
97
|
if response.status_code == 429:
|
|
87
98
|
response_429 = ErrorResponse.from_dict(response.json())
|
|
88
99
|
|
|
89
100
|
return response_429
|
|
101
|
+
|
|
90
102
|
if response.status_code == 500:
|
|
91
103
|
response_500 = ErrorResponse.from_dict(response.json())
|
|
92
104
|
|
|
93
105
|
return response_500
|
|
106
|
+
|
|
94
107
|
if response.status_code == 503:
|
|
95
108
|
response_503 = ErrorResponse.from_dict(response.json())
|
|
96
109
|
|
|
97
110
|
return response_503
|
|
98
|
-
if response.status_code == 422:
|
|
99
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
100
111
|
|
|
101
|
-
return response_422
|
|
102
112
|
if client.raise_on_unexpected_status:
|
|
103
113
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
104
114
|
else:
|
|
@@ -161,7 +171,7 @@ def sync_detailed(
|
|
|
161
171
|
- Clients should implement exponential backoff on errors
|
|
162
172
|
|
|
163
173
|
**Note:**
|
|
164
|
-
MCP tool calls are
|
|
174
|
+
MCP tool calls are included and do not consume credits.
|
|
165
175
|
|
|
166
176
|
Args:
|
|
167
177
|
graph_id (str): Graph database identifier
|
|
@@ -240,7 +250,7 @@ def sync(
|
|
|
240
250
|
- Clients should implement exponential backoff on errors
|
|
241
251
|
|
|
242
252
|
**Note:**
|
|
243
|
-
MCP tool calls are
|
|
253
|
+
MCP tool calls are included and do not consume credits.
|
|
244
254
|
|
|
245
255
|
Args:
|
|
246
256
|
graph_id (str): Graph database identifier
|
|
@@ -314,7 +324,7 @@ async def asyncio_detailed(
|
|
|
314
324
|
- Clients should implement exponential backoff on errors
|
|
315
325
|
|
|
316
326
|
**Note:**
|
|
317
|
-
MCP tool calls are
|
|
327
|
+
MCP tool calls are included and do not consume credits.
|
|
318
328
|
|
|
319
329
|
Args:
|
|
320
330
|
graph_id (str): Graph database identifier
|
|
@@ -391,7 +401,7 @@ async def asyncio(
|
|
|
391
401
|
- Clients should implement exponential backoff on errors
|
|
392
402
|
|
|
393
403
|
**Note:**
|
|
394
|
-
MCP tool calls are
|
|
404
|
+
MCP tool calls are included and do not consume credits.
|
|
395
405
|
|
|
396
406
|
Args:
|
|
397
407
|
graph_id (str): Graph database identifier
|