robosystems-client 0.1.19__py3-none-any.whl → 0.2.1__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.1.dist-info}/METADATA +25 -12
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.1.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.1.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.19.dist-info → robosystems_client-0.2.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -36,6 +36,8 @@ from .backup_stats_response import BackupStatsResponse
|
|
|
36
36
|
from .backup_stats_response_backup_formats import BackupStatsResponseBackupFormats
|
|
37
37
|
from .batch_agent_request import BatchAgentRequest
|
|
38
38
|
from .batch_agent_response import BatchAgentResponse
|
|
39
|
+
from .bulk_ingest_request import BulkIngestRequest
|
|
40
|
+
from .bulk_ingest_response import BulkIngestResponse
|
|
39
41
|
from .cancel_operation_response_canceloperation import (
|
|
40
42
|
CancelOperationResponseCanceloperation,
|
|
41
43
|
)
|
|
@@ -50,9 +52,6 @@ from .connection_provider_info_provider import ConnectionProviderInfoProvider
|
|
|
50
52
|
from .connection_response import ConnectionResponse
|
|
51
53
|
from .connection_response_metadata import ConnectionResponseMetadata
|
|
52
54
|
from .connection_response_provider import ConnectionResponseProvider
|
|
53
|
-
from .copy_response import CopyResponse
|
|
54
|
-
from .copy_response_error_details_type_0 import CopyResponseErrorDetailsType0
|
|
55
|
-
from .copy_response_status import CopyResponseStatus
|
|
56
55
|
from .create_api_key_request import CreateAPIKeyRequest
|
|
57
56
|
from .create_api_key_response import CreateAPIKeyResponse
|
|
58
57
|
from .create_connection_request import CreateConnectionRequest
|
|
@@ -74,10 +73,11 @@ from .custom_schema_definition_relationships_item import (
|
|
|
74
73
|
)
|
|
75
74
|
from .cypher_query_request import CypherQueryRequest
|
|
76
75
|
from .cypher_query_request_parameters_type_0 import CypherQueryRequestParametersType0
|
|
77
|
-
from .data_frame_copy_request import DataFrameCopyRequest
|
|
78
|
-
from .data_frame_copy_request_format import DataFrameCopyRequestFormat
|
|
79
76
|
from .database_health_response import DatabaseHealthResponse
|
|
80
77
|
from .database_info_response import DatabaseInfoResponse
|
|
78
|
+
from .delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete import (
|
|
79
|
+
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
80
|
+
)
|
|
81
81
|
from .delete_subgraph_request import DeleteSubgraphRequest
|
|
82
82
|
from .delete_subgraph_response import DeleteSubgraphResponse
|
|
83
83
|
from .detailed_transactions_response import DetailedTransactionsResponse
|
|
@@ -93,6 +93,9 @@ from .enhanced_credit_transaction_response_metadata import (
|
|
|
93
93
|
from .error_response import ErrorResponse
|
|
94
94
|
from .exchange_token_request import ExchangeTokenRequest
|
|
95
95
|
from .exchange_token_request_metadata_type_0 import ExchangeTokenRequestMetadataType0
|
|
96
|
+
from .file_update_request import FileUpdateRequest
|
|
97
|
+
from .file_upload_request import FileUploadRequest
|
|
98
|
+
from .file_upload_response import FileUploadResponse
|
|
96
99
|
from .forgot_password_request import ForgotPasswordRequest
|
|
97
100
|
from .forgot_password_response_forgotpassword import (
|
|
98
101
|
ForgotPasswordResponseForgotpassword,
|
|
@@ -112,6 +115,9 @@ from .get_current_auth_user_response_getcurrentauthuser import (
|
|
|
112
115
|
from .get_current_graph_bill_response_getcurrentgraphbill import (
|
|
113
116
|
GetCurrentGraphBillResponseGetcurrentgraphbill,
|
|
114
117
|
)
|
|
118
|
+
from .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 import (
|
|
119
|
+
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
120
|
+
)
|
|
115
121
|
from .get_graph_billing_history_response_getgraphbillinghistory import (
|
|
116
122
|
GetGraphBillingHistoryResponseGetgraphbillinghistory,
|
|
117
123
|
)
|
|
@@ -121,8 +127,8 @@ from .get_graph_limits_response_getgraphlimits import (
|
|
|
121
127
|
from .get_graph_monthly_bill_response_getgraphmonthlybill import (
|
|
122
128
|
GetGraphMonthlyBillResponseGetgraphmonthlybill,
|
|
123
129
|
)
|
|
124
|
-
from .
|
|
125
|
-
|
|
130
|
+
from .get_graph_schema_response_getgraphschema import (
|
|
131
|
+
GetGraphSchemaResponseGetgraphschema,
|
|
126
132
|
)
|
|
127
133
|
from .get_graph_usage_details_response_getgraphusagedetails import (
|
|
128
134
|
GetGraphUsageDetailsResponseGetgraphusagedetails,
|
|
@@ -157,10 +163,10 @@ from .link_token_request import LinkTokenRequest
|
|
|
157
163
|
from .link_token_request_options_type_0 import LinkTokenRequestOptionsType0
|
|
158
164
|
from .link_token_request_provider_type_0 import LinkTokenRequestProviderType0
|
|
159
165
|
from .list_connections_provider_type_0 import ListConnectionsProviderType0
|
|
160
|
-
from .list_schema_extensions_response_listschemaextensions import (
|
|
161
|
-
ListSchemaExtensionsResponseListschemaextensions,
|
|
162
|
-
)
|
|
163
166
|
from .list_subgraphs_response import ListSubgraphsResponse
|
|
167
|
+
from .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 import (
|
|
168
|
+
ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetResponseListTableFilesV1GraphsGraphIdTablesTableNameFilesGet,
|
|
169
|
+
)
|
|
164
170
|
from .login_request import LoginRequest
|
|
165
171
|
from .logout_user_response_logoutuser import LogoutUserResponseLogoutuser
|
|
166
172
|
from .mcp_tool_call import MCPToolCall
|
|
@@ -196,9 +202,6 @@ from .resend_verification_email_response_resendverificationemail import (
|
|
|
196
202
|
from .reset_password_request import ResetPasswordRequest
|
|
197
203
|
from .reset_password_validate_response import ResetPasswordValidateResponse
|
|
198
204
|
from .response_mode import ResponseMode
|
|
199
|
-
from .s3_copy_request import S3CopyRequest
|
|
200
|
-
from .s3_copy_request_file_format import S3CopyRequestFileFormat
|
|
201
|
-
from .s3_copy_request_s3_url_style_type_0 import S3CopyRequestS3UrlStyleType0
|
|
202
205
|
from .schema_export_response import SchemaExportResponse
|
|
203
206
|
from .schema_export_response_data_stats_type_0 import SchemaExportResponseDataStatsType0
|
|
204
207
|
from .schema_export_response_schema_definition_type_0 import (
|
|
@@ -238,14 +241,19 @@ from .sync_connection_request_sync_options_type_0 import (
|
|
|
238
241
|
from .sync_connection_response_syncconnection import (
|
|
239
242
|
SyncConnectionResponseSyncconnection,
|
|
240
243
|
)
|
|
244
|
+
from .table_info import TableInfo
|
|
245
|
+
from .table_ingest_result import TableIngestResult
|
|
246
|
+
from .table_list_response import TableListResponse
|
|
247
|
+
from .table_query_request import TableQueryRequest
|
|
248
|
+
from .table_query_response import TableQueryResponse
|
|
241
249
|
from .tier_upgrade_request import TierUpgradeRequest
|
|
242
250
|
from .transaction_summary_response import TransactionSummaryResponse
|
|
243
251
|
from .update_api_key_request import UpdateAPIKeyRequest
|
|
252
|
+
from .update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch import (
|
|
253
|
+
UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchResponseUpdateFileV1GraphsGraphIdTablesFilesFileIdPatch,
|
|
254
|
+
)
|
|
244
255
|
from .update_password_request import UpdatePasswordRequest
|
|
245
256
|
from .update_user_request import UpdateUserRequest
|
|
246
|
-
from .url_copy_request import URLCopyRequest
|
|
247
|
-
from .url_copy_request_file_format import URLCopyRequestFileFormat
|
|
248
|
-
from .url_copy_request_headers_type_0 import URLCopyRequestHeadersType0
|
|
249
257
|
from .user_analytics_response import UserAnalyticsResponse
|
|
250
258
|
from .user_analytics_response_api_usage import UserAnalyticsResponseApiUsage
|
|
251
259
|
from .user_analytics_response_graph_usage import UserAnalyticsResponseGraphUsage
|
|
@@ -300,6 +308,8 @@ __all__ = (
|
|
|
300
308
|
"BackupStatsResponseBackupFormats",
|
|
301
309
|
"BatchAgentRequest",
|
|
302
310
|
"BatchAgentResponse",
|
|
311
|
+
"BulkIngestRequest",
|
|
312
|
+
"BulkIngestResponse",
|
|
303
313
|
"CancellationResponse",
|
|
304
314
|
"CancelOperationResponseCanceloperation",
|
|
305
315
|
"CheckCreditBalanceResponseCheckcreditbalance",
|
|
@@ -310,9 +320,6 @@ __all__ = (
|
|
|
310
320
|
"ConnectionResponse",
|
|
311
321
|
"ConnectionResponseMetadata",
|
|
312
322
|
"ConnectionResponseProvider",
|
|
313
|
-
"CopyResponse",
|
|
314
|
-
"CopyResponseErrorDetailsType0",
|
|
315
|
-
"CopyResponseStatus",
|
|
316
323
|
"CreateAPIKeyRequest",
|
|
317
324
|
"CreateAPIKeyResponse",
|
|
318
325
|
"CreateConnectionRequest",
|
|
@@ -332,8 +339,7 @@ __all__ = (
|
|
|
332
339
|
"CypherQueryRequestParametersType0",
|
|
333
340
|
"DatabaseHealthResponse",
|
|
334
341
|
"DatabaseInfoResponse",
|
|
335
|
-
"
|
|
336
|
-
"DataFrameCopyRequestFormat",
|
|
342
|
+
"DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete",
|
|
337
343
|
"DeleteSubgraphRequest",
|
|
338
344
|
"DeleteSubgraphResponse",
|
|
339
345
|
"DetailedTransactionsResponse",
|
|
@@ -345,6 +351,9 @@ __all__ = (
|
|
|
345
351
|
"ErrorResponse",
|
|
346
352
|
"ExchangeTokenRequest",
|
|
347
353
|
"ExchangeTokenRequestMetadataType0",
|
|
354
|
+
"FileUpdateRequest",
|
|
355
|
+
"FileUploadRequest",
|
|
356
|
+
"FileUploadResponse",
|
|
348
357
|
"ForgotPasswordRequest",
|
|
349
358
|
"ForgotPasswordResponseForgotpassword",
|
|
350
359
|
"GetAllCreditSummariesResponseGetallcreditsummaries",
|
|
@@ -352,10 +361,11 @@ __all__ = (
|
|
|
352
361
|
"GetBackupDownloadUrlResponseGetbackupdownloadurl",
|
|
353
362
|
"GetCurrentAuthUserResponseGetcurrentauthuser",
|
|
354
363
|
"GetCurrentGraphBillResponseGetcurrentgraphbill",
|
|
364
|
+
"GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet",
|
|
355
365
|
"GetGraphBillingHistoryResponseGetgraphbillinghistory",
|
|
356
366
|
"GetGraphLimitsResponseGetgraphlimits",
|
|
357
367
|
"GetGraphMonthlyBillResponseGetgraphmonthlybill",
|
|
358
|
-
"
|
|
368
|
+
"GetGraphSchemaResponseGetgraphschema",
|
|
359
369
|
"GetGraphUsageDetailsResponseGetgraphusagedetails",
|
|
360
370
|
"GetOperationStatusResponseGetoperationstatus",
|
|
361
371
|
"GetSharedRepositoryLimitsResponseGetsharedrepositorylimits",
|
|
@@ -379,8 +389,8 @@ __all__ = (
|
|
|
379
389
|
"LinkTokenRequestOptionsType0",
|
|
380
390
|
"LinkTokenRequestProviderType0",
|
|
381
391
|
"ListConnectionsProviderType0",
|
|
382
|
-
"ListSchemaExtensionsResponseListschemaextensions",
|
|
383
392
|
"ListSubgraphsResponse",
|
|
393
|
+
"ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetResponseListTableFilesV1GraphsGraphIdTablesTableNameFilesGet",
|
|
384
394
|
"LoginRequest",
|
|
385
395
|
"LogoutUserResponseLogoutuser",
|
|
386
396
|
"MCPToolCall",
|
|
@@ -408,9 +418,6 @@ __all__ = (
|
|
|
408
418
|
"ResetPasswordRequest",
|
|
409
419
|
"ResetPasswordValidateResponse",
|
|
410
420
|
"ResponseMode",
|
|
411
|
-
"S3CopyRequest",
|
|
412
|
-
"S3CopyRequestFileFormat",
|
|
413
|
-
"S3CopyRequestS3UrlStyleType0",
|
|
414
421
|
"SchemaExportResponse",
|
|
415
422
|
"SchemaExportResponseDataStatsType0",
|
|
416
423
|
"SchemaExportResponseSchemaDefinitionType0",
|
|
@@ -440,14 +447,17 @@ __all__ = (
|
|
|
440
447
|
"SyncConnectionRequest",
|
|
441
448
|
"SyncConnectionRequestSyncOptionsType0",
|
|
442
449
|
"SyncConnectionResponseSyncconnection",
|
|
450
|
+
"TableInfo",
|
|
451
|
+
"TableIngestResult",
|
|
452
|
+
"TableListResponse",
|
|
453
|
+
"TableQueryRequest",
|
|
454
|
+
"TableQueryResponse",
|
|
443
455
|
"TierUpgradeRequest",
|
|
444
456
|
"TransactionSummaryResponse",
|
|
445
457
|
"UpdateAPIKeyRequest",
|
|
458
|
+
"UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchResponseUpdateFileV1GraphsGraphIdTablesFilesFileIdPatch",
|
|
446
459
|
"UpdatePasswordRequest",
|
|
447
460
|
"UpdateUserRequest",
|
|
448
|
-
"URLCopyRequest",
|
|
449
|
-
"URLCopyRequestFileFormat",
|
|
450
|
-
"URLCopyRequestHeadersType0",
|
|
451
461
|
"UserAnalyticsResponse",
|
|
452
462
|
"UserAnalyticsResponseApiUsage",
|
|
453
463
|
"UserAnalyticsResponseGraphUsage",
|
|
@@ -14,31 +14,23 @@ class BackupRestoreRequest:
|
|
|
14
14
|
"""Request model for restoring from a backup.
|
|
15
15
|
|
|
16
16
|
Attributes:
|
|
17
|
-
backup_id (str): ID of backup to restore from
|
|
18
17
|
create_system_backup (Union[Unset, bool]): Create a system backup of existing database before restore Default:
|
|
19
18
|
True.
|
|
20
19
|
verify_after_restore (Union[Unset, bool]): Verify database integrity after restore Default: True.
|
|
21
20
|
"""
|
|
22
21
|
|
|
23
|
-
backup_id: str
|
|
24
22
|
create_system_backup: Union[Unset, bool] = True
|
|
25
23
|
verify_after_restore: Union[Unset, bool] = True
|
|
26
24
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
27
25
|
|
|
28
26
|
def to_dict(self) -> dict[str, Any]:
|
|
29
|
-
backup_id = self.backup_id
|
|
30
|
-
|
|
31
27
|
create_system_backup = self.create_system_backup
|
|
32
28
|
|
|
33
29
|
verify_after_restore = self.verify_after_restore
|
|
34
30
|
|
|
35
31
|
field_dict: dict[str, Any] = {}
|
|
36
32
|
field_dict.update(self.additional_properties)
|
|
37
|
-
field_dict.update(
|
|
38
|
-
{
|
|
39
|
-
"backup_id": backup_id,
|
|
40
|
-
}
|
|
41
|
-
)
|
|
33
|
+
field_dict.update({})
|
|
42
34
|
if create_system_backup is not UNSET:
|
|
43
35
|
field_dict["create_system_backup"] = create_system_backup
|
|
44
36
|
if verify_after_restore is not UNSET:
|
|
@@ -49,14 +41,11 @@ class BackupRestoreRequest:
|
|
|
49
41
|
@classmethod
|
|
50
42
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
51
43
|
d = dict(src_dict)
|
|
52
|
-
backup_id = d.pop("backup_id")
|
|
53
|
-
|
|
54
44
|
create_system_backup = d.pop("create_system_backup", UNSET)
|
|
55
45
|
|
|
56
46
|
verify_after_restore = d.pop("verify_after_restore", UNSET)
|
|
57
47
|
|
|
58
48
|
backup_restore_request = cls(
|
|
59
|
-
backup_id=backup_id,
|
|
60
49
|
create_system_backup=create_system_backup,
|
|
61
50
|
verify_after_restore=verify_after_restore,
|
|
62
51
|
)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="BulkIngestRequest")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class BulkIngestRequest:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
ignore_errors (Union[Unset, bool]): Continue ingestion on row errors Default: True.
|
|
16
|
+
rebuild (Union[Unset, bool]): Rebuild graph database from scratch before ingestion. Safe operation - staged data
|
|
17
|
+
is the source of truth, graph can always be regenerated. Default: False.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
ignore_errors: Union[Unset, bool] = True
|
|
21
|
+
rebuild: Union[Unset, bool] = False
|
|
22
|
+
|
|
23
|
+
def to_dict(self) -> dict[str, Any]:
|
|
24
|
+
ignore_errors = self.ignore_errors
|
|
25
|
+
|
|
26
|
+
rebuild = self.rebuild
|
|
27
|
+
|
|
28
|
+
field_dict: dict[str, Any] = {}
|
|
29
|
+
|
|
30
|
+
field_dict.update({})
|
|
31
|
+
if ignore_errors is not UNSET:
|
|
32
|
+
field_dict["ignore_errors"] = ignore_errors
|
|
33
|
+
if rebuild is not UNSET:
|
|
34
|
+
field_dict["rebuild"] = rebuild
|
|
35
|
+
|
|
36
|
+
return field_dict
|
|
37
|
+
|
|
38
|
+
@classmethod
|
|
39
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
40
|
+
d = dict(src_dict)
|
|
41
|
+
ignore_errors = d.pop("ignore_errors", UNSET)
|
|
42
|
+
|
|
43
|
+
rebuild = d.pop("rebuild", UNSET)
|
|
44
|
+
|
|
45
|
+
bulk_ingest_request = cls(
|
|
46
|
+
ignore_errors=ignore_errors,
|
|
47
|
+
rebuild=rebuild,
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
return bulk_ingest_request
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.table_ingest_result import TableIngestResult
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="BulkIngestResponse")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class BulkIngestResponse:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
status (str): Overall ingestion status
|
|
19
|
+
graph_id (str): Graph database identifier
|
|
20
|
+
total_tables (int): Total number of tables processed
|
|
21
|
+
successful_tables (int): Number of successfully ingested tables
|
|
22
|
+
failed_tables (int): Number of failed table ingestions
|
|
23
|
+
skipped_tables (int): Number of skipped tables (no files)
|
|
24
|
+
total_rows_ingested (int): Total rows ingested across all tables
|
|
25
|
+
total_execution_time_ms (float): Total execution time in milliseconds
|
|
26
|
+
results (list['TableIngestResult']): Per-table ingestion results
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
status: str
|
|
30
|
+
graph_id: str
|
|
31
|
+
total_tables: int
|
|
32
|
+
successful_tables: int
|
|
33
|
+
failed_tables: int
|
|
34
|
+
skipped_tables: int
|
|
35
|
+
total_rows_ingested: int
|
|
36
|
+
total_execution_time_ms: float
|
|
37
|
+
results: list["TableIngestResult"]
|
|
38
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
39
|
+
|
|
40
|
+
def to_dict(self) -> dict[str, Any]:
|
|
41
|
+
status = self.status
|
|
42
|
+
|
|
43
|
+
graph_id = self.graph_id
|
|
44
|
+
|
|
45
|
+
total_tables = self.total_tables
|
|
46
|
+
|
|
47
|
+
successful_tables = self.successful_tables
|
|
48
|
+
|
|
49
|
+
failed_tables = self.failed_tables
|
|
50
|
+
|
|
51
|
+
skipped_tables = self.skipped_tables
|
|
52
|
+
|
|
53
|
+
total_rows_ingested = self.total_rows_ingested
|
|
54
|
+
|
|
55
|
+
total_execution_time_ms = self.total_execution_time_ms
|
|
56
|
+
|
|
57
|
+
results = []
|
|
58
|
+
for results_item_data in self.results:
|
|
59
|
+
results_item = results_item_data.to_dict()
|
|
60
|
+
results.append(results_item)
|
|
61
|
+
|
|
62
|
+
field_dict: dict[str, Any] = {}
|
|
63
|
+
field_dict.update(self.additional_properties)
|
|
64
|
+
field_dict.update(
|
|
65
|
+
{
|
|
66
|
+
"status": status,
|
|
67
|
+
"graph_id": graph_id,
|
|
68
|
+
"total_tables": total_tables,
|
|
69
|
+
"successful_tables": successful_tables,
|
|
70
|
+
"failed_tables": failed_tables,
|
|
71
|
+
"skipped_tables": skipped_tables,
|
|
72
|
+
"total_rows_ingested": total_rows_ingested,
|
|
73
|
+
"total_execution_time_ms": total_execution_time_ms,
|
|
74
|
+
"results": results,
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
return field_dict
|
|
79
|
+
|
|
80
|
+
@classmethod
|
|
81
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
82
|
+
from ..models.table_ingest_result import TableIngestResult
|
|
83
|
+
|
|
84
|
+
d = dict(src_dict)
|
|
85
|
+
status = d.pop("status")
|
|
86
|
+
|
|
87
|
+
graph_id = d.pop("graph_id")
|
|
88
|
+
|
|
89
|
+
total_tables = d.pop("total_tables")
|
|
90
|
+
|
|
91
|
+
successful_tables = d.pop("successful_tables")
|
|
92
|
+
|
|
93
|
+
failed_tables = d.pop("failed_tables")
|
|
94
|
+
|
|
95
|
+
skipped_tables = d.pop("skipped_tables")
|
|
96
|
+
|
|
97
|
+
total_rows_ingested = d.pop("total_rows_ingested")
|
|
98
|
+
|
|
99
|
+
total_execution_time_ms = d.pop("total_execution_time_ms")
|
|
100
|
+
|
|
101
|
+
results = []
|
|
102
|
+
_results = d.pop("results")
|
|
103
|
+
for results_item_data in _results:
|
|
104
|
+
results_item = TableIngestResult.from_dict(results_item_data)
|
|
105
|
+
|
|
106
|
+
results.append(results_item)
|
|
107
|
+
|
|
108
|
+
bulk_ingest_response = cls(
|
|
109
|
+
status=status,
|
|
110
|
+
graph_id=graph_id,
|
|
111
|
+
total_tables=total_tables,
|
|
112
|
+
successful_tables=successful_tables,
|
|
113
|
+
failed_tables=failed_tables,
|
|
114
|
+
skipped_tables=skipped_tables,
|
|
115
|
+
total_rows_ingested=total_rows_ingested,
|
|
116
|
+
total_execution_time_ms=total_execution_time_ms,
|
|
117
|
+
results=results,
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
bulk_ingest_response.additional_properties = d
|
|
121
|
+
return bulk_ingest_response
|
|
122
|
+
|
|
123
|
+
@property
|
|
124
|
+
def additional_keys(self) -> list[str]:
|
|
125
|
+
return list(self.additional_properties.keys())
|
|
126
|
+
|
|
127
|
+
def __getitem__(self, key: str) -> Any:
|
|
128
|
+
return self.additional_properties[key]
|
|
129
|
+
|
|
130
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
131
|
+
self.additional_properties[key] = value
|
|
132
|
+
|
|
133
|
+
def __delitem__(self, key: str) -> None:
|
|
134
|
+
del self.additional_properties[key]
|
|
135
|
+
|
|
136
|
+
def __contains__(self, key: str) -> bool:
|
|
137
|
+
return key in self.additional_properties
|
|
@@ -21,12 +21,13 @@ class CreateGraphRequest:
|
|
|
21
21
|
|
|
22
22
|
Example:
|
|
23
23
|
{'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'}, 'instance_tier':
|
|
24
|
-
'standard', 'metadata': {'description': 'Main production graph', 'graph_name': 'Production System',
|
|
24
|
+
'kuzu-standard', 'metadata': {'description': 'Main production graph', 'graph_name': 'Production System',
|
|
25
25
|
'schema_extensions': ['roboledger']}, 'tags': ['production', 'finance']}
|
|
26
26
|
|
|
27
27
|
Attributes:
|
|
28
28
|
metadata (GraphMetadata): Metadata for graph creation.
|
|
29
|
-
instance_tier (Union[Unset, str]): Instance tier: standard,
|
|
29
|
+
instance_tier (Union[Unset, str]): Instance tier: kuzu-standard, kuzu-large, kuzu-xlarge, neo4j-community-large,
|
|
30
|
+
neo4j-enterprise-xlarge Default: 'kuzu-standard'.
|
|
30
31
|
custom_schema (Union['CustomSchemaDefinition', None, Unset]): Custom schema definition to apply
|
|
31
32
|
initial_entity (Union['InitialEntityData', None, Unset]): Optional initial entity to create in the graph. If
|
|
32
33
|
provided, creates a entity-focused graph.
|
|
@@ -34,7 +35,7 @@ class CreateGraphRequest:
|
|
|
34
35
|
"""
|
|
35
36
|
|
|
36
37
|
metadata: "GraphMetadata"
|
|
37
|
-
instance_tier: Union[Unset, str] = "standard"
|
|
38
|
+
instance_tier: Union[Unset, str] = "kuzu-standard"
|
|
38
39
|
custom_schema: Union["CustomSchemaDefinition", None, Unset] = UNSET
|
|
39
40
|
initial_entity: Union["InitialEntityData", None, Unset] = UNSET
|
|
40
41
|
tags: Union[Unset, list[str]] = UNSET
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
T = TypeVar(
|
|
8
|
+
"T",
|
|
9
|
+
bound="DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete",
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@_attrs_define
|
|
14
|
+
class DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete:
|
|
15
|
+
""" """
|
|
16
|
+
|
|
17
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
18
|
+
|
|
19
|
+
def to_dict(self) -> dict[str, Any]:
|
|
20
|
+
field_dict: dict[str, Any] = {}
|
|
21
|
+
field_dict.update(self.additional_properties)
|
|
22
|
+
|
|
23
|
+
return field_dict
|
|
24
|
+
|
|
25
|
+
@classmethod
|
|
26
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
27
|
+
d = dict(src_dict)
|
|
28
|
+
delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete = cls()
|
|
29
|
+
|
|
30
|
+
delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.additional_properties = d
|
|
31
|
+
return delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
def additional_keys(self) -> list[str]:
|
|
35
|
+
return list(self.additional_properties.keys())
|
|
36
|
+
|
|
37
|
+
def __getitem__(self, key: str) -> Any:
|
|
38
|
+
return self.additional_properties[key]
|
|
39
|
+
|
|
40
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
41
|
+
self.additional_properties[key] = value
|
|
42
|
+
|
|
43
|
+
def __delitem__(self, key: str) -> None:
|
|
44
|
+
del self.additional_properties[key]
|
|
45
|
+
|
|
46
|
+
def __contains__(self, key: str) -> bool:
|
|
47
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union, cast
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="FileUpdateRequest")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class FileUpdateRequest:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
file_size_bytes (int): Actual uploaded file size in bytes
|
|
16
|
+
row_count (Union[None, Unset, int]): Number of rows in the file
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
file_size_bytes: int
|
|
20
|
+
row_count: Union[None, Unset, int] = UNSET
|
|
21
|
+
|
|
22
|
+
def to_dict(self) -> dict[str, Any]:
|
|
23
|
+
file_size_bytes = self.file_size_bytes
|
|
24
|
+
|
|
25
|
+
row_count: Union[None, Unset, int]
|
|
26
|
+
if isinstance(self.row_count, Unset):
|
|
27
|
+
row_count = UNSET
|
|
28
|
+
else:
|
|
29
|
+
row_count = self.row_count
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
|
|
33
|
+
field_dict.update(
|
|
34
|
+
{
|
|
35
|
+
"file_size_bytes": file_size_bytes,
|
|
36
|
+
}
|
|
37
|
+
)
|
|
38
|
+
if row_count is not UNSET:
|
|
39
|
+
field_dict["row_count"] = row_count
|
|
40
|
+
|
|
41
|
+
return field_dict
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
45
|
+
d = dict(src_dict)
|
|
46
|
+
file_size_bytes = d.pop("file_size_bytes")
|
|
47
|
+
|
|
48
|
+
def _parse_row_count(data: object) -> Union[None, Unset, int]:
|
|
49
|
+
if data is None:
|
|
50
|
+
return data
|
|
51
|
+
if isinstance(data, Unset):
|
|
52
|
+
return data
|
|
53
|
+
return cast(Union[None, Unset, int], data)
|
|
54
|
+
|
|
55
|
+
row_count = _parse_row_count(d.pop("row_count", UNSET))
|
|
56
|
+
|
|
57
|
+
file_update_request = cls(
|
|
58
|
+
file_size_bytes=file_size_bytes,
|
|
59
|
+
row_count=row_count,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
return file_update_request
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
|
|
6
|
+
from ..types import UNSET, Unset
|
|
7
|
+
|
|
8
|
+
T = TypeVar("T", bound="FileUploadRequest")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
@_attrs_define
|
|
12
|
+
class FileUploadRequest:
|
|
13
|
+
"""
|
|
14
|
+
Attributes:
|
|
15
|
+
file_name (str): File name to upload
|
|
16
|
+
content_type (Union[Unset, str]): File MIME type Default: 'application/x-parquet'.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
file_name: str
|
|
20
|
+
content_type: Union[Unset, str] = "application/x-parquet"
|
|
21
|
+
|
|
22
|
+
def to_dict(self) -> dict[str, Any]:
|
|
23
|
+
file_name = self.file_name
|
|
24
|
+
|
|
25
|
+
content_type = self.content_type
|
|
26
|
+
|
|
27
|
+
field_dict: dict[str, Any] = {}
|
|
28
|
+
|
|
29
|
+
field_dict.update(
|
|
30
|
+
{
|
|
31
|
+
"file_name": file_name,
|
|
32
|
+
}
|
|
33
|
+
)
|
|
34
|
+
if content_type is not UNSET:
|
|
35
|
+
field_dict["content_type"] = content_type
|
|
36
|
+
|
|
37
|
+
return field_dict
|
|
38
|
+
|
|
39
|
+
@classmethod
|
|
40
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
41
|
+
d = dict(src_dict)
|
|
42
|
+
file_name = d.pop("file_name")
|
|
43
|
+
|
|
44
|
+
content_type = d.pop("content_type", UNSET)
|
|
45
|
+
|
|
46
|
+
file_upload_request = cls(
|
|
47
|
+
file_name=file_name,
|
|
48
|
+
content_type=content_type,
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
return file_upload_request
|