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
|
@@ -55,23 +55,29 @@ def _parse_response(
|
|
|
55
55
|
response_200 = AgentResponse.from_dict(response.json())
|
|
56
56
|
|
|
57
57
|
return response_200
|
|
58
|
+
|
|
58
59
|
if response.status_code == 400:
|
|
59
60
|
response_400 = cast(Any, None)
|
|
60
61
|
return response_400
|
|
62
|
+
|
|
61
63
|
if response.status_code == 402:
|
|
62
64
|
response_402 = cast(Any, None)
|
|
63
65
|
return response_402
|
|
66
|
+
|
|
67
|
+
if response.status_code == 422:
|
|
68
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
69
|
+
|
|
70
|
+
return response_422
|
|
71
|
+
|
|
64
72
|
if response.status_code == 429:
|
|
65
73
|
response_429 = cast(Any, None)
|
|
66
74
|
return response_429
|
|
75
|
+
|
|
67
76
|
if response.status_code == 500:
|
|
68
77
|
response_500 = ErrorResponse.from_dict(response.json())
|
|
69
78
|
|
|
70
79
|
return response_500
|
|
71
|
-
if response.status_code == 422:
|
|
72
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
73
80
|
|
|
74
|
-
return response_422
|
|
75
81
|
if client.raise_on_unexpected_status:
|
|
76
82
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
77
83
|
else:
|
|
@@ -54,19 +54,24 @@ def _parse_response(
|
|
|
54
54
|
response_200 = BatchAgentResponse.from_dict(response.json())
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 400:
|
|
58
59
|
response_400 = cast(Any, None)
|
|
59
60
|
return response_400
|
|
61
|
+
|
|
60
62
|
if response.status_code == 402:
|
|
61
63
|
response_402 = cast(Any, None)
|
|
62
64
|
return response_402
|
|
63
|
-
|
|
64
|
-
response_500 = cast(Any, None)
|
|
65
|
-
return response_500
|
|
65
|
+
|
|
66
66
|
if response.status_code == 422:
|
|
67
67
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
68
68
|
|
|
69
69
|
return response_422
|
|
70
|
+
|
|
71
|
+
if response.status_code == 500:
|
|
72
|
+
response_500 = cast(Any, None)
|
|
73
|
+
return response_500
|
|
74
|
+
|
|
70
75
|
if client.raise_on_unexpected_status:
|
|
71
76
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
72
77
|
else:
|
|
@@ -56,26 +56,33 @@ def _parse_response(
|
|
|
56
56
|
response_200 = AgentResponse.from_dict(response.json())
|
|
57
57
|
|
|
58
58
|
return response_200
|
|
59
|
+
|
|
59
60
|
if response.status_code == 400:
|
|
60
61
|
response_400 = cast(Any, None)
|
|
61
62
|
return response_400
|
|
63
|
+
|
|
62
64
|
if response.status_code == 402:
|
|
63
65
|
response_402 = cast(Any, None)
|
|
64
66
|
return response_402
|
|
67
|
+
|
|
65
68
|
if response.status_code == 404:
|
|
66
69
|
response_404 = cast(Any, None)
|
|
67
70
|
return response_404
|
|
71
|
+
|
|
72
|
+
if response.status_code == 422:
|
|
73
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
74
|
+
|
|
75
|
+
return response_422
|
|
76
|
+
|
|
68
77
|
if response.status_code == 429:
|
|
69
78
|
response_429 = cast(Any, None)
|
|
70
79
|
return response_429
|
|
80
|
+
|
|
71
81
|
if response.status_code == 500:
|
|
72
82
|
response_500 = ErrorResponse.from_dict(response.json())
|
|
73
83
|
|
|
74
84
|
return response_500
|
|
75
|
-
if response.status_code == 422:
|
|
76
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
77
85
|
|
|
78
|
-
return response_422
|
|
79
86
|
if client.raise_on_unexpected_status:
|
|
80
87
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
81
88
|
else:
|
|
@@ -49,13 +49,16 @@ def _parse_response(
|
|
|
49
49
|
response_200 = AgentMetadataResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 404:
|
|
53
54
|
response_404 = cast(Any, None)
|
|
54
55
|
return response_404
|
|
56
|
+
|
|
55
57
|
if response.status_code == 422:
|
|
56
58
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
57
59
|
|
|
58
60
|
return response_422
|
|
61
|
+
|
|
59
62
|
if client.raise_on_unexpected_status:
|
|
60
63
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
61
64
|
else:
|
|
@@ -56,13 +56,16 @@ def _parse_response(
|
|
|
56
56
|
response_200 = AgentListResponse.from_dict(response.json())
|
|
57
57
|
|
|
58
58
|
return response_200
|
|
59
|
+
|
|
59
60
|
if response.status_code == 401:
|
|
60
61
|
response_401 = cast(Any, None)
|
|
61
62
|
return response_401
|
|
63
|
+
|
|
62
64
|
if response.status_code == 422:
|
|
63
65
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
64
66
|
|
|
65
67
|
return response_422
|
|
68
|
+
|
|
66
69
|
if client.raise_on_unexpected_status:
|
|
67
70
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
68
71
|
else:
|
|
@@ -54,13 +54,16 @@ def _parse_response(
|
|
|
54
54
|
response_200 = AgentRecommendationResponse.from_dict(response.json())
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 400:
|
|
58
59
|
response_400 = cast(Any, None)
|
|
59
60
|
return response_400
|
|
61
|
+
|
|
60
62
|
if response.status_code == 422:
|
|
61
63
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
64
|
|
|
63
65
|
return response_422
|
|
66
|
+
|
|
64
67
|
if client.raise_on_unexpected_status:
|
|
65
68
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
69
|
else:
|
|
@@ -37,10 +37,12 @@ def _parse_response(
|
|
|
37
37
|
response_200 = PasswordCheckResponse.from_dict(response.json())
|
|
38
38
|
|
|
39
39
|
return response_200
|
|
40
|
+
|
|
40
41
|
if response.status_code == 422:
|
|
41
42
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
42
43
|
|
|
43
44
|
return response_422
|
|
45
|
+
|
|
44
46
|
if client.raise_on_unexpected_status:
|
|
45
47
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
48
|
else:
|
|
@@ -38,14 +38,17 @@ def _parse_response(
|
|
|
38
38
|
response_200 = AuthResponse.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_200
|
|
41
|
+
|
|
41
42
|
if response.status_code == 401:
|
|
42
43
|
response_401 = ErrorResponse.from_dict(response.json())
|
|
43
44
|
|
|
44
45
|
return response_401
|
|
46
|
+
|
|
45
47
|
if response.status_code == 422:
|
|
46
48
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
47
49
|
|
|
48
50
|
return response_422
|
|
51
|
+
|
|
49
52
|
if client.raise_on_unexpected_status:
|
|
50
53
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
51
54
|
else:
|
|
@@ -42,14 +42,17 @@ def _parse_response(
|
|
|
42
42
|
response_200 = ForgotPasswordResponseForgotpassword.from_dict(response.json())
|
|
43
43
|
|
|
44
44
|
return response_200
|
|
45
|
-
if response.status_code == 429:
|
|
46
|
-
response_429 = ErrorResponse.from_dict(response.json())
|
|
47
45
|
|
|
48
|
-
return response_429
|
|
49
46
|
if response.status_code == 422:
|
|
50
47
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
51
48
|
|
|
52
49
|
return response_422
|
|
50
|
+
|
|
51
|
+
if response.status_code == 429:
|
|
52
|
+
response_429 = ErrorResponse.from_dict(response.json())
|
|
53
|
+
|
|
54
|
+
return response_429
|
|
55
|
+
|
|
53
56
|
if client.raise_on_unexpected_status:
|
|
54
57
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
55
58
|
else:
|
|
@@ -41,14 +41,17 @@ def _parse_response(
|
|
|
41
41
|
response_200 = SSOTokenResponse.from_dict(response.json())
|
|
42
42
|
|
|
43
43
|
return response_200
|
|
44
|
+
|
|
44
45
|
if response.status_code == 401:
|
|
45
46
|
response_401 = ErrorResponse.from_dict(response.json())
|
|
46
47
|
|
|
47
48
|
return response_401
|
|
49
|
+
|
|
48
50
|
if response.status_code == 422:
|
|
49
51
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
50
52
|
|
|
51
53
|
return response_422
|
|
54
|
+
|
|
52
55
|
if client.raise_on_unexpected_status:
|
|
53
56
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
54
57
|
else:
|
|
@@ -43,14 +43,17 @@ def _parse_response(
|
|
|
43
43
|
)
|
|
44
44
|
|
|
45
45
|
return response_200
|
|
46
|
+
|
|
46
47
|
if response.status_code == 401:
|
|
47
48
|
response_401 = ErrorResponse.from_dict(response.json())
|
|
48
49
|
|
|
49
50
|
return response_401
|
|
51
|
+
|
|
50
52
|
if response.status_code == 422:
|
|
51
53
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
52
54
|
|
|
53
55
|
return response_422
|
|
56
|
+
|
|
54
57
|
if client.raise_on_unexpected_status:
|
|
55
58
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
56
59
|
else:
|
|
@@ -38,18 +38,22 @@ def _parse_response(
|
|
|
38
38
|
response_200 = AuthResponse.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_200
|
|
41
|
-
if response.status_code == 401:
|
|
42
|
-
response_401 = ErrorResponse.from_dict(response.json())
|
|
43
41
|
|
|
44
|
-
return response_401
|
|
45
42
|
if response.status_code == 400:
|
|
46
43
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
47
44
|
|
|
48
45
|
return response_400
|
|
46
|
+
|
|
47
|
+
if response.status_code == 401:
|
|
48
|
+
response_401 = ErrorResponse.from_dict(response.json())
|
|
49
|
+
|
|
50
|
+
return response_401
|
|
51
|
+
|
|
49
52
|
if response.status_code == 422:
|
|
50
53
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
51
54
|
|
|
52
55
|
return response_422
|
|
56
|
+
|
|
53
57
|
if client.raise_on_unexpected_status:
|
|
54
58
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
55
59
|
else:
|
|
@@ -34,10 +34,12 @@ def _parse_response(
|
|
|
34
34
|
response_200 = LogoutUserResponseLogoutuser.from_dict(response.json())
|
|
35
35
|
|
|
36
36
|
return response_200
|
|
37
|
+
|
|
37
38
|
if response.status_code == 422:
|
|
38
39
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
39
40
|
|
|
40
41
|
return response_422
|
|
42
|
+
|
|
41
43
|
if client.raise_on_unexpected_status:
|
|
42
44
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
43
45
|
else:
|
|
@@ -35,14 +35,17 @@ def _parse_response(
|
|
|
35
35
|
response_200 = AuthResponse.from_dict(response.json())
|
|
36
36
|
|
|
37
37
|
return response_200
|
|
38
|
+
|
|
38
39
|
if response.status_code == 401:
|
|
39
40
|
response_401 = ErrorResponse.from_dict(response.json())
|
|
40
41
|
|
|
41
42
|
return response_401
|
|
43
|
+
|
|
42
44
|
if response.status_code == 422:
|
|
43
45
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
44
46
|
|
|
45
47
|
return response_422
|
|
48
|
+
|
|
46
49
|
if client.raise_on_unexpected_status:
|
|
47
50
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
48
51
|
else:
|
|
@@ -38,22 +38,27 @@ def _parse_response(
|
|
|
38
38
|
response_201 = AuthResponse.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_201
|
|
41
|
-
if response.status_code == 409:
|
|
42
|
-
response_409 = ErrorResponse.from_dict(response.json())
|
|
43
41
|
|
|
44
|
-
return response_409
|
|
45
42
|
if response.status_code == 400:
|
|
46
43
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
47
44
|
|
|
48
45
|
return response_400
|
|
49
|
-
if response.status_code == 503:
|
|
50
|
-
response_503 = ErrorResponse.from_dict(response.json())
|
|
51
46
|
|
|
52
|
-
|
|
47
|
+
if response.status_code == 409:
|
|
48
|
+
response_409 = ErrorResponse.from_dict(response.json())
|
|
49
|
+
|
|
50
|
+
return response_409
|
|
51
|
+
|
|
53
52
|
if response.status_code == 422:
|
|
54
53
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
55
54
|
|
|
56
55
|
return response_422
|
|
56
|
+
|
|
57
|
+
if response.status_code == 503:
|
|
58
|
+
response_503 = ErrorResponse.from_dict(response.json())
|
|
59
|
+
|
|
60
|
+
return response_503
|
|
61
|
+
|
|
57
62
|
if client.raise_on_unexpected_status:
|
|
58
63
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
59
64
|
else:
|
|
@@ -45,22 +45,27 @@ def _parse_response(
|
|
|
45
45
|
)
|
|
46
46
|
|
|
47
47
|
return response_200
|
|
48
|
+
|
|
48
49
|
if response.status_code == 400:
|
|
49
50
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
50
51
|
|
|
51
52
|
return response_400
|
|
53
|
+
|
|
54
|
+
if response.status_code == 422:
|
|
55
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
56
|
+
|
|
57
|
+
return response_422
|
|
58
|
+
|
|
52
59
|
if response.status_code == 429:
|
|
53
60
|
response_429 = ErrorResponse.from_dict(response.json())
|
|
54
61
|
|
|
55
62
|
return response_429
|
|
63
|
+
|
|
56
64
|
if response.status_code == 503:
|
|
57
65
|
response_503 = ErrorResponse.from_dict(response.json())
|
|
58
66
|
|
|
59
67
|
return response_503
|
|
60
|
-
if response.status_code == 422:
|
|
61
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
68
|
|
|
63
|
-
return response_422
|
|
64
69
|
if client.raise_on_unexpected_status:
|
|
65
70
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
71
|
else:
|
|
@@ -38,14 +38,17 @@ def _parse_response(
|
|
|
38
38
|
response_200 = AuthResponse.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_200
|
|
41
|
+
|
|
41
42
|
if response.status_code == 400:
|
|
42
43
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
43
44
|
|
|
44
45
|
return response_400
|
|
46
|
+
|
|
45
47
|
if response.status_code == 422:
|
|
46
48
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
47
49
|
|
|
48
50
|
return response_422
|
|
51
|
+
|
|
49
52
|
if client.raise_on_unexpected_status:
|
|
50
53
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
51
54
|
else:
|
|
@@ -38,18 +38,22 @@ def _parse_response(
|
|
|
38
38
|
response_200 = SSOExchangeResponse.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_200
|
|
41
|
-
if response.status_code == 401:
|
|
42
|
-
response_401 = ErrorResponse.from_dict(response.json())
|
|
43
41
|
|
|
44
|
-
return response_401
|
|
45
42
|
if response.status_code == 400:
|
|
46
43
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
47
44
|
|
|
48
45
|
return response_400
|
|
46
|
+
|
|
47
|
+
if response.status_code == 401:
|
|
48
|
+
response_401 = ErrorResponse.from_dict(response.json())
|
|
49
|
+
|
|
50
|
+
return response_401
|
|
51
|
+
|
|
49
52
|
if response.status_code == 422:
|
|
50
53
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
51
54
|
|
|
52
55
|
return response_422
|
|
56
|
+
|
|
53
57
|
if client.raise_on_unexpected_status:
|
|
54
58
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
55
59
|
else:
|
|
@@ -36,10 +36,12 @@ def _parse_response(
|
|
|
36
36
|
response_200 = ResetPasswordValidateResponse.from_dict(response.json())
|
|
37
37
|
|
|
38
38
|
return response_200
|
|
39
|
+
|
|
39
40
|
if response.status_code == 422:
|
|
40
41
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
41
42
|
|
|
42
43
|
return response_422
|
|
44
|
+
|
|
43
45
|
if client.raise_on_unexpected_status:
|
|
44
46
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
45
47
|
else:
|
|
@@ -38,14 +38,17 @@ def _parse_response(
|
|
|
38
38
|
response_200 = AuthResponse.from_dict(response.json())
|
|
39
39
|
|
|
40
40
|
return response_200
|
|
41
|
+
|
|
41
42
|
if response.status_code == 400:
|
|
42
43
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
43
44
|
|
|
44
45
|
return response_400
|
|
46
|
+
|
|
45
47
|
if response.status_code == 422:
|
|
46
48
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
47
49
|
|
|
48
50
|
return response_422
|
|
51
|
+
|
|
49
52
|
if client.raise_on_unexpected_status:
|
|
50
53
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
51
54
|
else:
|
|
@@ -53,26 +53,32 @@ def _parse_response(
|
|
|
53
53
|
if response.status_code == 202:
|
|
54
54
|
response_202 = response.json()
|
|
55
55
|
return response_202
|
|
56
|
+
|
|
56
57
|
if response.status_code == 400:
|
|
57
58
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
58
59
|
|
|
59
60
|
return response_400
|
|
61
|
+
|
|
60
62
|
if response.status_code == 403:
|
|
61
63
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
62
64
|
|
|
63
65
|
return response_403
|
|
66
|
+
|
|
64
67
|
if response.status_code == 404:
|
|
65
68
|
response_404 = ErrorResponse.from_dict(response.json())
|
|
66
69
|
|
|
67
70
|
return response_404
|
|
68
|
-
if response.status_code == 500:
|
|
69
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
70
71
|
|
|
71
|
-
return response_500
|
|
72
72
|
if response.status_code == 422:
|
|
73
73
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
74
74
|
|
|
75
75
|
return response_422
|
|
76
|
+
|
|
77
|
+
if response.status_code == 500:
|
|
78
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
79
|
+
|
|
80
|
+
return response_500
|
|
81
|
+
|
|
76
82
|
if client.raise_on_unexpected_status:
|
|
77
83
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
78
84
|
else:
|
|
@@ -102,7 +108,7 @@ def sync_detailed(
|
|
|
102
108
|
|
|
103
109
|
Create a backup of the graph database.
|
|
104
110
|
|
|
105
|
-
Creates a complete backup of the
|
|
111
|
+
Creates a complete backup of the graph database (.kuzu file) with:
|
|
106
112
|
- **Format**: Full database backup only (complete .kuzu file)
|
|
107
113
|
- **Compression**: Always enabled for optimal storage
|
|
108
114
|
- **Encryption**: Optional AES-256 encryption for security
|
|
@@ -183,7 +189,7 @@ def sync(
|
|
|
183
189
|
|
|
184
190
|
Create a backup of the graph database.
|
|
185
191
|
|
|
186
|
-
Creates a complete backup of the
|
|
192
|
+
Creates a complete backup of the graph database (.kuzu file) with:
|
|
187
193
|
- **Format**: Full database backup only (complete .kuzu file)
|
|
188
194
|
- **Compression**: Always enabled for optimal storage
|
|
189
195
|
- **Encryption**: Optional AES-256 encryption for security
|
|
@@ -259,7 +265,7 @@ async def asyncio_detailed(
|
|
|
259
265
|
|
|
260
266
|
Create a backup of the graph database.
|
|
261
267
|
|
|
262
|
-
Creates a complete backup of the
|
|
268
|
+
Creates a complete backup of the graph database (.kuzu file) with:
|
|
263
269
|
- **Format**: Full database backup only (complete .kuzu file)
|
|
264
270
|
- **Compression**: Always enabled for optimal storage
|
|
265
271
|
- **Encryption**: Optional AES-256 encryption for security
|
|
@@ -338,7 +344,7 @@ async def asyncio(
|
|
|
338
344
|
|
|
339
345
|
Create a backup of the graph database.
|
|
340
346
|
|
|
341
|
-
Creates a complete backup of the
|
|
347
|
+
Creates a complete backup of the graph database (.kuzu file) with:
|
|
342
348
|
- **Format**: Full database backup only (complete .kuzu file)
|
|
343
349
|
- **Compression**: Always enabled for optimal storage
|
|
344
350
|
- **Encryption**: Optional AES-256 encryption for security
|
|
@@ -58,19 +58,24 @@ def _parse_response(
|
|
|
58
58
|
)
|
|
59
59
|
|
|
60
60
|
return response_200
|
|
61
|
+
|
|
61
62
|
if response.status_code == 403:
|
|
62
63
|
response_403 = cast(Any, None)
|
|
63
64
|
return response_403
|
|
65
|
+
|
|
64
66
|
if response.status_code == 404:
|
|
65
67
|
response_404 = cast(Any, None)
|
|
66
68
|
return response_404
|
|
67
|
-
|
|
68
|
-
response_500 = cast(Any, None)
|
|
69
|
-
return response_500
|
|
69
|
+
|
|
70
70
|
if response.status_code == 422:
|
|
71
71
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
72
72
|
|
|
73
73
|
return response_422
|
|
74
|
+
|
|
75
|
+
if response.status_code == 500:
|
|
76
|
+
response_500 = cast(Any, None)
|
|
77
|
+
return response_500
|
|
78
|
+
|
|
74
79
|
if client.raise_on_unexpected_status:
|
|
75
80
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
76
81
|
else:
|
|
@@ -48,10 +48,12 @@ def _parse_response(
|
|
|
48
48
|
response_200 = BackupStatsResponse.from_dict(response.json())
|
|
49
49
|
|
|
50
50
|
return response_200
|
|
51
|
+
|
|
51
52
|
if response.status_code == 422:
|
|
52
53
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
53
54
|
|
|
54
55
|
return response_422
|
|
56
|
+
|
|
55
57
|
if client.raise_on_unexpected_status:
|
|
56
58
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
57
59
|
else:
|
|
@@ -54,10 +54,12 @@ def _parse_response(
|
|
|
54
54
|
response_200 = BackupListResponse.from_dict(response.json())
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 422:
|
|
58
59
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
59
60
|
|
|
60
61
|
return response_422
|
|
62
|
+
|
|
61
63
|
if client.raise_on_unexpected_status:
|
|
62
64
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
63
65
|
else:
|
|
@@ -84,7 +86,7 @@ def sync_detailed(
|
|
|
84
86
|
token: Union[None, Unset, str] = UNSET,
|
|
85
87
|
authorization: Union[None, Unset, str] = UNSET,
|
|
86
88
|
) -> Response[Union[BackupListResponse, HTTPValidationError]]:
|
|
87
|
-
"""List
|
|
89
|
+
"""List graph database backups
|
|
88
90
|
|
|
89
91
|
List all backups for the specified graph database
|
|
90
92
|
|
|
@@ -127,7 +129,7 @@ def sync(
|
|
|
127
129
|
token: Union[None, Unset, str] = UNSET,
|
|
128
130
|
authorization: Union[None, Unset, str] = UNSET,
|
|
129
131
|
) -> Optional[Union[BackupListResponse, HTTPValidationError]]:
|
|
130
|
-
"""List
|
|
132
|
+
"""List graph database backups
|
|
131
133
|
|
|
132
134
|
List all backups for the specified graph database
|
|
133
135
|
|
|
@@ -165,7 +167,7 @@ async def asyncio_detailed(
|
|
|
165
167
|
token: Union[None, Unset, str] = UNSET,
|
|
166
168
|
authorization: Union[None, Unset, str] = UNSET,
|
|
167
169
|
) -> Response[Union[BackupListResponse, HTTPValidationError]]:
|
|
168
|
-
"""List
|
|
170
|
+
"""List graph database backups
|
|
169
171
|
|
|
170
172
|
List all backups for the specified graph database
|
|
171
173
|
|
|
@@ -206,7 +208,7 @@ async def asyncio(
|
|
|
206
208
|
token: Union[None, Unset, str] = UNSET,
|
|
207
209
|
authorization: Union[None, Unset, str] = UNSET,
|
|
208
210
|
) -> Optional[Union[BackupListResponse, HTTPValidationError]]:
|
|
209
|
-
"""List
|
|
211
|
+
"""List graph database backups
|
|
210
212
|
|
|
211
213
|
List all backups for the specified graph database
|
|
212
214
|
|