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
|
@@ -49,18 +49,22 @@ def _parse_response(
|
|
|
49
49
|
response_200 = MCPToolsResponse.from_dict(response.json())
|
|
50
50
|
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
54
55
|
|
|
55
56
|
return response_403
|
|
56
|
-
if response.status_code == 500:
|
|
57
|
-
response_500 = ErrorResponse.from_dict(response.json())
|
|
58
57
|
|
|
59
|
-
return response_500
|
|
60
58
|
if response.status_code == 422:
|
|
61
59
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
62
60
|
|
|
63
61
|
return response_422
|
|
62
|
+
|
|
63
|
+
if response.status_code == 500:
|
|
64
|
+
response_500 = ErrorResponse.from_dict(response.json())
|
|
65
|
+
|
|
66
|
+
return response_500
|
|
67
|
+
|
|
64
68
|
if client.raise_on_unexpected_status:
|
|
65
69
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
66
70
|
else:
|
|
@@ -100,7 +104,7 @@ def sync_detailed(
|
|
|
100
104
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
101
105
|
|
|
102
106
|
Credit consumption:
|
|
103
|
-
- Listing tools is
|
|
107
|
+
- Listing tools is included to encourage exploration
|
|
104
108
|
- Tool execution costs vary by operation complexity
|
|
105
109
|
|
|
106
110
|
Args:
|
|
@@ -151,7 +155,7 @@ def sync(
|
|
|
151
155
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
152
156
|
|
|
153
157
|
Credit consumption:
|
|
154
|
-
- Listing tools is
|
|
158
|
+
- Listing tools is included to encourage exploration
|
|
155
159
|
- Tool execution costs vary by operation complexity
|
|
156
160
|
|
|
157
161
|
Args:
|
|
@@ -197,7 +201,7 @@ async def asyncio_detailed(
|
|
|
197
201
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
198
202
|
|
|
199
203
|
Credit consumption:
|
|
200
|
-
- Listing tools is
|
|
204
|
+
- Listing tools is included to encourage exploration
|
|
201
205
|
- Tool execution costs vary by operation complexity
|
|
202
206
|
|
|
203
207
|
Args:
|
|
@@ -246,7 +250,7 @@ async def asyncio(
|
|
|
246
250
|
- Backend capabilities (Kuzu, Neo4j, etc.)
|
|
247
251
|
|
|
248
252
|
Credit consumption:
|
|
249
|
-
- Listing tools is
|
|
253
|
+
- Listing tools is included to encourage exploration
|
|
250
254
|
- Tool execution costs vary by operation complexity
|
|
251
255
|
|
|
252
256
|
Args:
|
|
@@ -50,22 +50,28 @@ def _parse_response(
|
|
|
50
50
|
response_200 = CancelOperationResponseCanceloperation.from_dict(response.json())
|
|
51
51
|
|
|
52
52
|
return response_200
|
|
53
|
+
|
|
53
54
|
if response.status_code == 403:
|
|
54
55
|
response_403 = cast(Any, None)
|
|
55
56
|
return response_403
|
|
57
|
+
|
|
56
58
|
if response.status_code == 404:
|
|
57
59
|
response_404 = cast(Any, None)
|
|
58
60
|
return response_404
|
|
61
|
+
|
|
59
62
|
if response.status_code == 409:
|
|
60
63
|
response_409 = cast(Any, None)
|
|
61
64
|
return response_409
|
|
62
|
-
|
|
63
|
-
response_500 = cast(Any, None)
|
|
64
|
-
return response_500
|
|
65
|
+
|
|
65
66
|
if response.status_code == 422:
|
|
66
67
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
67
68
|
|
|
68
69
|
return response_422
|
|
70
|
+
|
|
71
|
+
if response.status_code == 500:
|
|
72
|
+
response_500 = cast(Any, None)
|
|
73
|
+
return response_500
|
|
74
|
+
|
|
69
75
|
if client.raise_on_unexpected_status:
|
|
70
76
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
71
77
|
else:
|
|
@@ -54,19 +54,24 @@ def _parse_response(
|
|
|
54
54
|
)
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 403:
|
|
58
59
|
response_403 = cast(Any, None)
|
|
59
60
|
return response_403
|
|
61
|
+
|
|
60
62
|
if response.status_code == 404:
|
|
61
63
|
response_404 = cast(Any, None)
|
|
62
64
|
return response_404
|
|
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:
|
|
@@ -49,19 +49,24 @@ def _parse_response(
|
|
|
49
49
|
if response.status_code == 200:
|
|
50
50
|
response_200 = response.json()
|
|
51
51
|
return response_200
|
|
52
|
+
|
|
52
53
|
if response.status_code == 403:
|
|
53
54
|
response_403 = cast(Any, None)
|
|
54
55
|
return response_403
|
|
56
|
+
|
|
55
57
|
if response.status_code == 404:
|
|
56
58
|
response_404 = cast(Any, None)
|
|
57
59
|
return response_404
|
|
58
|
-
|
|
59
|
-
response_500 = cast(Any, None)
|
|
60
|
-
return response_500
|
|
60
|
+
|
|
61
61
|
if response.status_code == 422:
|
|
62
62
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
63
63
|
|
|
64
64
|
return response_422
|
|
65
|
+
|
|
66
|
+
if response.status_code == 500:
|
|
67
|
+
response_500 = cast(Any, None)
|
|
68
|
+
return response_500
|
|
69
|
+
|
|
65
70
|
if client.raise_on_unexpected_status:
|
|
66
71
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
67
72
|
else:
|
|
@@ -69,31 +69,40 @@ def _parse_response(
|
|
|
69
69
|
if response.status_code == 200:
|
|
70
70
|
response_200 = response.json()
|
|
71
71
|
return response_200
|
|
72
|
+
|
|
72
73
|
if response.status_code == 202:
|
|
73
74
|
response_202 = cast(Any, None)
|
|
74
75
|
return response_202
|
|
76
|
+
|
|
75
77
|
if response.status_code == 400:
|
|
76
78
|
response_400 = cast(Any, None)
|
|
77
79
|
return response_400
|
|
80
|
+
|
|
78
81
|
if response.status_code == 403:
|
|
79
82
|
response_403 = cast(Any, None)
|
|
80
83
|
return response_403
|
|
84
|
+
|
|
81
85
|
if response.status_code == 408:
|
|
82
86
|
response_408 = cast(Any, None)
|
|
83
87
|
return response_408
|
|
88
|
+
|
|
89
|
+
if response.status_code == 422:
|
|
90
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
91
|
+
|
|
92
|
+
return response_422
|
|
93
|
+
|
|
84
94
|
if response.status_code == 429:
|
|
85
95
|
response_429 = cast(Any, None)
|
|
86
96
|
return response_429
|
|
97
|
+
|
|
87
98
|
if response.status_code == 500:
|
|
88
99
|
response_500 = cast(Any, None)
|
|
89
100
|
return response_500
|
|
101
|
+
|
|
90
102
|
if response.status_code == 503:
|
|
91
103
|
response_503 = cast(Any, None)
|
|
92
104
|
return response_503
|
|
93
|
-
if response.status_code == 422:
|
|
94
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
95
105
|
|
|
96
|
-
return response_422
|
|
97
106
|
if client.raise_on_unexpected_status:
|
|
98
107
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
99
108
|
else:
|
|
@@ -122,9 +131,15 @@ def sync_detailed(
|
|
|
122
131
|
token: Union[None, Unset, str] = UNSET,
|
|
123
132
|
authorization: Union[None, Unset, str] = UNSET,
|
|
124
133
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
125
|
-
"""Execute Cypher Query
|
|
134
|
+
"""Execute Cypher Query (Read-Only)
|
|
126
135
|
|
|
127
|
-
Execute a Cypher query with intelligent response optimization.
|
|
136
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
137
|
+
|
|
138
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
139
|
+
allowed.
|
|
140
|
+
To load data into your graph, use the staging pipeline:
|
|
141
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
142
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
128
143
|
|
|
129
144
|
This endpoint automatically selects the best execution strategy based on:
|
|
130
145
|
- Query characteristics (size, complexity)
|
|
@@ -169,7 +184,7 @@ def sync_detailed(
|
|
|
169
184
|
- Clients should implement exponential backoff
|
|
170
185
|
|
|
171
186
|
**Note:**
|
|
172
|
-
Query operations are
|
|
187
|
+
Query operations are included - no credit consumption required.
|
|
173
188
|
Queue position is based on subscription tier for priority.
|
|
174
189
|
|
|
175
190
|
Args:
|
|
@@ -217,9 +232,15 @@ def sync(
|
|
|
217
232
|
token: Union[None, Unset, str] = UNSET,
|
|
218
233
|
authorization: Union[None, Unset, str] = UNSET,
|
|
219
234
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
220
|
-
"""Execute Cypher Query
|
|
235
|
+
"""Execute Cypher Query (Read-Only)
|
|
236
|
+
|
|
237
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
221
238
|
|
|
222
|
-
|
|
239
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
240
|
+
allowed.
|
|
241
|
+
To load data into your graph, use the staging pipeline:
|
|
242
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
243
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
223
244
|
|
|
224
245
|
This endpoint automatically selects the best execution strategy based on:
|
|
225
246
|
- Query characteristics (size, complexity)
|
|
@@ -264,7 +285,7 @@ def sync(
|
|
|
264
285
|
- Clients should implement exponential backoff
|
|
265
286
|
|
|
266
287
|
**Note:**
|
|
267
|
-
Query operations are
|
|
288
|
+
Query operations are included - no credit consumption required.
|
|
268
289
|
Queue position is based on subscription tier for priority.
|
|
269
290
|
|
|
270
291
|
Args:
|
|
@@ -307,9 +328,15 @@ async def asyncio_detailed(
|
|
|
307
328
|
token: Union[None, Unset, str] = UNSET,
|
|
308
329
|
authorization: Union[None, Unset, str] = UNSET,
|
|
309
330
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
310
|
-
"""Execute Cypher Query
|
|
331
|
+
"""Execute Cypher Query (Read-Only)
|
|
311
332
|
|
|
312
|
-
Execute a Cypher query with intelligent response optimization.
|
|
333
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
334
|
+
|
|
335
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
336
|
+
allowed.
|
|
337
|
+
To load data into your graph, use the staging pipeline:
|
|
338
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
339
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
313
340
|
|
|
314
341
|
This endpoint automatically selects the best execution strategy based on:
|
|
315
342
|
- Query characteristics (size, complexity)
|
|
@@ -354,7 +381,7 @@ async def asyncio_detailed(
|
|
|
354
381
|
- Clients should implement exponential backoff
|
|
355
382
|
|
|
356
383
|
**Note:**
|
|
357
|
-
Query operations are
|
|
384
|
+
Query operations are included - no credit consumption required.
|
|
358
385
|
Queue position is based on subscription tier for priority.
|
|
359
386
|
|
|
360
387
|
Args:
|
|
@@ -400,9 +427,15 @@ async def asyncio(
|
|
|
400
427
|
token: Union[None, Unset, str] = UNSET,
|
|
401
428
|
authorization: Union[None, Unset, str] = UNSET,
|
|
402
429
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
403
|
-
"""Execute Cypher Query
|
|
430
|
+
"""Execute Cypher Query (Read-Only)
|
|
431
|
+
|
|
432
|
+
Execute a read-only Cypher query with intelligent response optimization.
|
|
404
433
|
|
|
405
|
-
|
|
434
|
+
**IMPORTANT: This endpoint is READ-ONLY.** Write operations (CREATE, MERGE, SET, DELETE) are not
|
|
435
|
+
allowed.
|
|
436
|
+
To load data into your graph, use the staging pipeline:
|
|
437
|
+
1. Create file upload: `POST /v1/graphs/{graph_id}/tables/{table_name}/files`
|
|
438
|
+
2. Ingest to graph: `POST /v1/graphs/{graph_id}/tables/ingest`
|
|
406
439
|
|
|
407
440
|
This endpoint automatically selects the best execution strategy based on:
|
|
408
441
|
- Query characteristics (size, complexity)
|
|
@@ -447,7 +480,7 @@ async def asyncio(
|
|
|
447
480
|
- Clients should implement exponential backoff
|
|
448
481
|
|
|
449
482
|
**Note:**
|
|
450
|
-
Query operations are
|
|
483
|
+
Query operations are included - no credit consumption required.
|
|
451
484
|
Queue position is based on subscription tier for priority.
|
|
452
485
|
|
|
453
486
|
Args:
|
|
@@ -54,10 +54,12 @@ def _parse_response(
|
|
|
54
54
|
response_200 = SchemaExportResponse.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:
|
|
@@ -5,8 +5,8 @@ import httpx
|
|
|
5
5
|
|
|
6
6
|
from ... import errors
|
|
7
7
|
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...models.
|
|
9
|
-
|
|
8
|
+
from ...models.get_graph_schema_response_getgraphschema import (
|
|
9
|
+
GetGraphSchemaResponseGetgraphschema,
|
|
10
10
|
)
|
|
11
11
|
from ...models.http_validation_error import HTTPValidationError
|
|
12
12
|
from ...types import UNSET, Response, Unset
|
|
@@ -35,7 +35,7 @@ def _get_kwargs(
|
|
|
35
35
|
|
|
36
36
|
_kwargs: dict[str, Any] = {
|
|
37
37
|
"method": "get",
|
|
38
|
-
"url": f"/v1/graphs/{graph_id}/schema
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/schema",
|
|
39
39
|
"params": params,
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -45,25 +45,25 @@ def _get_kwargs(
|
|
|
45
45
|
|
|
46
46
|
def _parse_response(
|
|
47
47
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
48
|
-
) -> Optional[
|
|
49
|
-
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
50
|
-
]:
|
|
48
|
+
) -> Optional[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
|
|
51
49
|
if response.status_code == 200:
|
|
52
|
-
response_200 =
|
|
53
|
-
response.json()
|
|
54
|
-
)
|
|
50
|
+
response_200 = GetGraphSchemaResponseGetgraphschema.from_dict(response.json())
|
|
55
51
|
|
|
56
52
|
return response_200
|
|
53
|
+
|
|
57
54
|
if response.status_code == 403:
|
|
58
55
|
response_403 = cast(Any, None)
|
|
59
56
|
return response_403
|
|
60
|
-
|
|
61
|
-
response_500 = cast(Any, None)
|
|
62
|
-
return response_500
|
|
57
|
+
|
|
63
58
|
if response.status_code == 422:
|
|
64
59
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
65
60
|
|
|
66
61
|
return response_422
|
|
62
|
+
|
|
63
|
+
if response.status_code == 500:
|
|
64
|
+
response_500 = cast(Any, None)
|
|
65
|
+
return response_500
|
|
66
|
+
|
|
67
67
|
if client.raise_on_unexpected_status:
|
|
68
68
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
69
69
|
else:
|
|
@@ -72,9 +72,7 @@ def _parse_response(
|
|
|
72
72
|
|
|
73
73
|
def _build_response(
|
|
74
74
|
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
75
|
-
) -> Response[
|
|
76
|
-
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
77
|
-
]:
|
|
75
|
+
) -> Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
|
|
78
76
|
return Response(
|
|
79
77
|
status_code=HTTPStatus(response.status_code),
|
|
80
78
|
content=response.content,
|
|
@@ -89,10 +87,8 @@ def sync_detailed(
|
|
|
89
87
|
client: AuthenticatedClient,
|
|
90
88
|
token: Union[None, Unset, str] = UNSET,
|
|
91
89
|
authorization: Union[None, Unset, str] = UNSET,
|
|
92
|
-
) -> Response[
|
|
93
|
-
|
|
94
|
-
]:
|
|
95
|
-
"""Get Runtime Graph Schema Information
|
|
90
|
+
) -> Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
|
|
91
|
+
"""Get Runtime Graph Schema
|
|
96
92
|
|
|
97
93
|
Get runtime schema information for the specified graph database.
|
|
98
94
|
|
|
@@ -101,10 +97,10 @@ def sync_detailed(
|
|
|
101
97
|
- **Relationship Types**: All relationship types currently in the database
|
|
102
98
|
- **Node Properties**: Properties for each node type (limited to first 10 for performance)
|
|
103
99
|
|
|
104
|
-
This
|
|
105
|
-
|
|
100
|
+
This shows what actually exists in the database right now - the runtime state.
|
|
101
|
+
For the declared schema definition, use GET /schema/export instead.
|
|
106
102
|
|
|
107
|
-
This operation is
|
|
103
|
+
This operation is included - no credit consumption required.
|
|
108
104
|
|
|
109
105
|
Args:
|
|
110
106
|
graph_id (str): The graph database to get schema for
|
|
@@ -116,7 +112,7 @@ def sync_detailed(
|
|
|
116
112
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
117
113
|
|
|
118
114
|
Returns:
|
|
119
|
-
Response[Union[Any,
|
|
115
|
+
Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]
|
|
120
116
|
"""
|
|
121
117
|
|
|
122
118
|
kwargs = _get_kwargs(
|
|
@@ -138,10 +134,8 @@ def sync(
|
|
|
138
134
|
client: AuthenticatedClient,
|
|
139
135
|
token: Union[None, Unset, str] = UNSET,
|
|
140
136
|
authorization: Union[None, Unset, str] = UNSET,
|
|
141
|
-
) -> Optional[
|
|
142
|
-
|
|
143
|
-
]:
|
|
144
|
-
"""Get Runtime Graph Schema Information
|
|
137
|
+
) -> Optional[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
|
|
138
|
+
"""Get Runtime Graph Schema
|
|
145
139
|
|
|
146
140
|
Get runtime schema information for the specified graph database.
|
|
147
141
|
|
|
@@ -150,10 +144,10 @@ def sync(
|
|
|
150
144
|
- **Relationship Types**: All relationship types currently in the database
|
|
151
145
|
- **Node Properties**: Properties for each node type (limited to first 10 for performance)
|
|
152
146
|
|
|
153
|
-
This
|
|
154
|
-
|
|
147
|
+
This shows what actually exists in the database right now - the runtime state.
|
|
148
|
+
For the declared schema definition, use GET /schema/export instead.
|
|
155
149
|
|
|
156
|
-
This operation is
|
|
150
|
+
This operation is included - no credit consumption required.
|
|
157
151
|
|
|
158
152
|
Args:
|
|
159
153
|
graph_id (str): The graph database to get schema for
|
|
@@ -165,7 +159,7 @@ def sync(
|
|
|
165
159
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
166
160
|
|
|
167
161
|
Returns:
|
|
168
|
-
Union[Any,
|
|
162
|
+
Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]
|
|
169
163
|
"""
|
|
170
164
|
|
|
171
165
|
return sync_detailed(
|
|
@@ -182,10 +176,8 @@ async def asyncio_detailed(
|
|
|
182
176
|
client: AuthenticatedClient,
|
|
183
177
|
token: Union[None, Unset, str] = UNSET,
|
|
184
178
|
authorization: Union[None, Unset, str] = UNSET,
|
|
185
|
-
) -> Response[
|
|
186
|
-
|
|
187
|
-
]:
|
|
188
|
-
"""Get Runtime Graph Schema Information
|
|
179
|
+
) -> Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
|
|
180
|
+
"""Get Runtime Graph Schema
|
|
189
181
|
|
|
190
182
|
Get runtime schema information for the specified graph database.
|
|
191
183
|
|
|
@@ -194,10 +186,10 @@ async def asyncio_detailed(
|
|
|
194
186
|
- **Relationship Types**: All relationship types currently in the database
|
|
195
187
|
- **Node Properties**: Properties for each node type (limited to first 10 for performance)
|
|
196
188
|
|
|
197
|
-
This
|
|
198
|
-
|
|
189
|
+
This shows what actually exists in the database right now - the runtime state.
|
|
190
|
+
For the declared schema definition, use GET /schema/export instead.
|
|
199
191
|
|
|
200
|
-
This operation is
|
|
192
|
+
This operation is included - no credit consumption required.
|
|
201
193
|
|
|
202
194
|
Args:
|
|
203
195
|
graph_id (str): The graph database to get schema for
|
|
@@ -209,7 +201,7 @@ async def asyncio_detailed(
|
|
|
209
201
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
210
202
|
|
|
211
203
|
Returns:
|
|
212
|
-
Response[Union[Any,
|
|
204
|
+
Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]
|
|
213
205
|
"""
|
|
214
206
|
|
|
215
207
|
kwargs = _get_kwargs(
|
|
@@ -229,10 +221,8 @@ async def asyncio(
|
|
|
229
221
|
client: AuthenticatedClient,
|
|
230
222
|
token: Union[None, Unset, str] = UNSET,
|
|
231
223
|
authorization: Union[None, Unset, str] = UNSET,
|
|
232
|
-
) -> Optional[
|
|
233
|
-
|
|
234
|
-
]:
|
|
235
|
-
"""Get Runtime Graph Schema Information
|
|
224
|
+
) -> Optional[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
|
|
225
|
+
"""Get Runtime Graph Schema
|
|
236
226
|
|
|
237
227
|
Get runtime schema information for the specified graph database.
|
|
238
228
|
|
|
@@ -241,10 +231,10 @@ async def asyncio(
|
|
|
241
231
|
- **Relationship Types**: All relationship types currently in the database
|
|
242
232
|
- **Node Properties**: Properties for each node type (limited to first 10 for performance)
|
|
243
233
|
|
|
244
|
-
This
|
|
245
|
-
|
|
234
|
+
This shows what actually exists in the database right now - the runtime state.
|
|
235
|
+
For the declared schema definition, use GET /schema/export instead.
|
|
246
236
|
|
|
247
|
-
This operation is
|
|
237
|
+
This operation is included - no credit consumption required.
|
|
248
238
|
|
|
249
239
|
Args:
|
|
250
240
|
graph_id (str): The graph database to get schema for
|
|
@@ -256,7 +246,7 @@ async def asyncio(
|
|
|
256
246
|
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
257
247
|
|
|
258
248
|
Returns:
|
|
259
|
-
Union[Any,
|
|
249
|
+
Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]
|
|
260
250
|
"""
|
|
261
251
|
|
|
262
252
|
return (
|
|
@@ -54,22 +54,27 @@ def _parse_response(
|
|
|
54
54
|
response_200 = SchemaValidationResponse.from_dict(response.json())
|
|
55
55
|
|
|
56
56
|
return response_200
|
|
57
|
+
|
|
57
58
|
if response.status_code == 400:
|
|
58
59
|
response_400 = ErrorResponse.from_dict(response.json())
|
|
59
60
|
|
|
60
61
|
return response_400
|
|
62
|
+
|
|
61
63
|
if response.status_code == 403:
|
|
62
64
|
response_403 = ErrorResponse.from_dict(response.json())
|
|
63
65
|
|
|
64
66
|
return response_403
|
|
67
|
+
|
|
65
68
|
if response.status_code == 422:
|
|
66
69
|
response_422 = ErrorResponse.from_dict(response.json())
|
|
67
70
|
|
|
68
71
|
return response_422
|
|
72
|
+
|
|
69
73
|
if response.status_code == 500:
|
|
70
74
|
response_500 = ErrorResponse.from_dict(response.json())
|
|
71
75
|
|
|
72
76
|
return response_500
|
|
77
|
+
|
|
73
78
|
if client.raise_on_unexpected_status:
|
|
74
79
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
75
80
|
else:
|
|
@@ -118,7 +123,7 @@ def sync_detailed(
|
|
|
118
123
|
- Performance problems
|
|
119
124
|
- Naming conflicts
|
|
120
125
|
|
|
121
|
-
This operation is
|
|
126
|
+
This operation is included - no credit consumption required.
|
|
122
127
|
|
|
123
128
|
Args:
|
|
124
129
|
graph_id (str): Graph database identifier
|
|
@@ -179,7 +184,7 @@ def sync(
|
|
|
179
184
|
- Performance problems
|
|
180
185
|
- Naming conflicts
|
|
181
186
|
|
|
182
|
-
This operation is
|
|
187
|
+
This operation is included - no credit consumption required.
|
|
183
188
|
|
|
184
189
|
Args:
|
|
185
190
|
graph_id (str): Graph database identifier
|
|
@@ -235,7 +240,7 @@ async def asyncio_detailed(
|
|
|
235
240
|
- Performance problems
|
|
236
241
|
- Naming conflicts
|
|
237
242
|
|
|
238
|
-
This operation is
|
|
243
|
+
This operation is included - no credit consumption required.
|
|
239
244
|
|
|
240
245
|
Args:
|
|
241
246
|
graph_id (str): Graph database identifier
|
|
@@ -294,7 +299,7 @@ async def asyncio(
|
|
|
294
299
|
- Performance problems
|
|
295
300
|
- Naming conflicts
|
|
296
301
|
|
|
297
|
-
This operation is
|
|
302
|
+
This operation is included - no credit consumption required.
|
|
298
303
|
|
|
299
304
|
Args:
|
|
300
305
|
graph_id (str): Graph database identifier
|
|
@@ -24,10 +24,12 @@ def _parse_response(
|
|
|
24
24
|
if response.status_code == 200:
|
|
25
25
|
response_200 = response.json()
|
|
26
26
|
return response_200
|
|
27
|
+
|
|
27
28
|
if response.status_code == 500:
|
|
28
29
|
response_500 = ErrorResponse.from_dict(response.json())
|
|
29
30
|
|
|
30
31
|
return response_500
|
|
32
|
+
|
|
31
33
|
if client.raise_on_unexpected_status:
|
|
32
34
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
33
35
|
else:
|
|
@@ -54,10 +54,12 @@ def _parse_response(
|
|
|
54
54
|
response_201 = SubgraphResponse.from_dict(response.json())
|
|
55
55
|
|
|
56
56
|
return response_201
|
|
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:
|
|
@@ -55,28 +55,36 @@ def _parse_response(
|
|
|
55
55
|
response_200 = DeleteSubgraphResponse.from_dict(response.json())
|
|
56
56
|
|
|
57
57
|
return response_200
|
|
58
|
+
|
|
59
|
+
if response.status_code == 400:
|
|
60
|
+
response_400 = cast(Any, None)
|
|
61
|
+
return response_400
|
|
62
|
+
|
|
58
63
|
if response.status_code == 401:
|
|
59
64
|
response_401 = cast(Any, None)
|
|
60
65
|
return response_401
|
|
66
|
+
|
|
61
67
|
if response.status_code == 403:
|
|
62
68
|
response_403 = cast(Any, None)
|
|
63
69
|
return response_403
|
|
70
|
+
|
|
64
71
|
if response.status_code == 404:
|
|
65
72
|
response_404 = cast(Any, None)
|
|
66
73
|
return response_404
|
|
67
|
-
|
|
68
|
-
response_400 = cast(Any, None)
|
|
69
|
-
return response_400
|
|
74
|
+
|
|
70
75
|
if response.status_code == 409:
|
|
71
76
|
response_409 = cast(Any, None)
|
|
72
77
|
return response_409
|
|
73
|
-
|
|
74
|
-
response_500 = cast(Any, None)
|
|
75
|
-
return response_500
|
|
78
|
+
|
|
76
79
|
if response.status_code == 422:
|
|
77
80
|
response_422 = HTTPValidationError.from_dict(response.json())
|
|
78
81
|
|
|
79
82
|
return response_422
|
|
83
|
+
|
|
84
|
+
if response.status_code == 500:
|
|
85
|
+
response_500 = cast(Any, None)
|
|
86
|
+
return response_500
|
|
87
|
+
|
|
80
88
|
if client.raise_on_unexpected_status:
|
|
81
89
|
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
82
90
|
else:
|