robosystems-client 0.1.18__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 +10 -4
- robosystems_client/api/agent/batch_process_queries.py +9 -4
- robosystems_client/api/agent/execute_specific_agent.py +11 -4
- robosystems_client/api/agent/get_agent_metadata.py +4 -1
- robosystems_client/api/agent/list_agents.py +4 -1
- robosystems_client/api/agent/recommend_agent.py +4 -1
- 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 +14 -8
- robosystems_client/api/backup/get_backup_download_url.py +9 -4
- robosystems_client/api/backup/get_backup_stats.py +3 -1
- robosystems_client/api/backup/list_backups.py +7 -5
- robosystems_client/api/backup/restore_backup.py +27 -8
- robosystems_client/api/connections/create_connection.py +14 -8
- robosystems_client/api/connections/create_link_token.py +9 -4
- robosystems_client/api/connections/delete_connection.py +13 -8
- robosystems_client/api/connections/exchange_link_token.py +9 -4
- robosystems_client/api/connections/get_connection.py +9 -4
- robosystems_client/api/connections/get_connection_options.py +8 -4
- robosystems_client/api/connections/init_o_auth.py +3 -1
- robosystems_client/api/connections/list_connections.py +8 -4
- robosystems_client/api/connections/oauth_callback.py +10 -4
- robosystems_client/api/connections/sync_connection.py +13 -8
- robosystems_client/api/graph_analytics/get_graph_metrics.py +13 -8
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +12 -8
- robosystems_client/api/graph_billing/get_current_graph_bill.py +9 -4
- robosystems_client/api/graph_billing/get_graph_billing_history.py +9 -4
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +10 -4
- robosystems_client/api/graph_billing/get_graph_usage_details.py +10 -4
- robosystems_client/api/graph_credits/check_credit_balance.py +9 -4
- robosystems_client/api/graph_credits/check_storage_limits.py +9 -4
- robosystems_client/api/graph_credits/get_credit_summary.py +9 -4
- robosystems_client/api/graph_credits/get_storage_usage.py +8 -4
- robosystems_client/api/graph_credits/list_credit_transactions.py +9 -4
- robosystems_client/api/graph_health/get_database_health.py +9 -4
- robosystems_client/api/graph_info/get_database_info.py +9 -4
- robosystems_client/api/graph_limits/get_graph_limits.py +9 -4
- robosystems_client/api/{create → graphs}/create_graph.py +7 -5
- robosystems_client/api/{create → graphs}/get_available_extensions.py +2 -1
- robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +3 -1
- robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +13 -8
- robosystems_client/api/mcp/call_mcp_tool.py +18 -8
- robosystems_client/api/mcp/list_mcp_tools.py +12 -8
- 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 +49 -16
- robosystems_client/api/schema/export_graph_schema.py +3 -1
- robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
- robosystems_client/api/schema/validate_schema.py +10 -5
- 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 +3 -1
- robosystems_client/api/subgraphs/delete_subgraph.py +15 -7
- robosystems_client/api/subgraphs/get_subgraph_info.py +14 -7
- robosystems_client/api/subgraphs/get_subgraph_quota.py +10 -4
- robosystems_client/api/subgraphs/list_subgraphs.py +3 -1
- 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 -31
- robosystems_client/models/api_key_info.py +20 -0
- 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_api_key_request.py +20 -0
- robosystems_client/models/create_graph_request.py +4 -3
- robosystems_client/models/{sso_login_request.py → delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py} +9 -22
- 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.18.dist-info → robosystems_client-0.2.0.dist-info}/METADATA +15 -3
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/RECORD +132 -127
- robosystems_client/api/auth/sso_login.py +0 -177
- 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 → graphs}/__init__.py +0 -0
- /robosystems_client/api/{create → tables}/__init__.py +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -36,7 +36,7 @@ def _get_kwargs(
|
|
|
36
36
|
|
|
37
37
|
_kwargs: dict[str, Any] = {
|
|
38
38
|
"method": "post",
|
|
39
|
-
"url": f"/v1/{graph_id}/agent",
|
|
39
|
+
"url": f"/v1/graphs/{graph_id}/agent",
|
|
40
40
|
"params": params,
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -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:
|
|
@@ -35,7 +35,7 @@ def _get_kwargs(
|
|
|
35
35
|
|
|
36
36
|
_kwargs: dict[str, Any] = {
|
|
37
37
|
"method": "post",
|
|
38
|
-
"url": f"/v1/{graph_id}/agent/batch",
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/agent/batch",
|
|
39
39
|
"params": params,
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -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:
|
|
@@ -37,7 +37,7 @@ def _get_kwargs(
|
|
|
37
37
|
|
|
38
38
|
_kwargs: dict[str, Any] = {
|
|
39
39
|
"method": "post",
|
|
40
|
-
"url": f"/v1/{graph_id}/agent/{agent_type}",
|
|
40
|
+
"url": f"/v1/graphs/{graph_id}/agent/{agent_type}",
|
|
41
41
|
"params": params,
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -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:
|
|
@@ -34,7 +34,7 @@ def _get_kwargs(
|
|
|
34
34
|
|
|
35
35
|
_kwargs: dict[str, Any] = {
|
|
36
36
|
"method": "get",
|
|
37
|
-
"url": f"/v1/{graph_id}/agent/{agent_type}/metadata",
|
|
37
|
+
"url": f"/v1/graphs/{graph_id}/agent/{agent_type}/metadata",
|
|
38
38
|
"params": params,
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -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:
|
|
@@ -41,7 +41,7 @@ def _get_kwargs(
|
|
|
41
41
|
|
|
42
42
|
_kwargs: dict[str, Any] = {
|
|
43
43
|
"method": "get",
|
|
44
|
-
"url": f"/v1/{graph_id}/agent/list",
|
|
44
|
+
"url": f"/v1/graphs/{graph_id}/agent/list",
|
|
45
45
|
"params": params,
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -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:
|
|
@@ -35,7 +35,7 @@ def _get_kwargs(
|
|
|
35
35
|
|
|
36
36
|
_kwargs: dict[str, Any] = {
|
|
37
37
|
"method": "post",
|
|
38
|
-
"url": f"/v1/{graph_id}/agent/recommend",
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/agent/recommend",
|
|
39
39
|
"params": params,
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -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:
|
|
@@ -35,7 +35,7 @@ def _get_kwargs(
|
|
|
35
35
|
|
|
36
36
|
_kwargs: dict[str, Any] = {
|
|
37
37
|
"method": "post",
|
|
38
|
-
"url": f"/v1/{graph_id}/backups",
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/backups",
|
|
39
39
|
"params": params,
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -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
|
|
@@ -39,7 +39,7 @@ def _get_kwargs(
|
|
|
39
39
|
|
|
40
40
|
_kwargs: dict[str, Any] = {
|
|
41
41
|
"method": "get",
|
|
42
|
-
"url": f"/v1/{graph_id}/backups/{backup_id}/download",
|
|
42
|
+
"url": f"/v1/graphs/{graph_id}/backups/{backup_id}/download",
|
|
43
43
|
"params": params,
|
|
44
44
|
}
|
|
45
45
|
|
|
@@ -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:
|
|
@@ -33,7 +33,7 @@ def _get_kwargs(
|
|
|
33
33
|
|
|
34
34
|
_kwargs: dict[str, Any] = {
|
|
35
35
|
"method": "get",
|
|
36
|
-
"url": f"/v1/{graph_id}/backups/stats",
|
|
36
|
+
"url": f"/v1/graphs/{graph_id}/backups/stats",
|
|
37
37
|
"params": params,
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -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:
|