robosystems-client 0.1.15__py3-none-any.whl → 0.1.17__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 +246 -0
- robosystems_client/api/agent/batch_process_queries.py +261 -0
- robosystems_client/api/agent/execute_specific_agent.py +258 -0
- robosystems_client/api/agent/get_agent_metadata.py +238 -0
- robosystems_client/api/agent/list_agents.py +246 -0
- robosystems_client/api/agent/recommend_agent.py +255 -0
- robosystems_client/api/auth/forgot_password.py +191 -0
- robosystems_client/api/auth/generate_sso_token.py +18 -0
- robosystems_client/api/auth/get_current_auth_user.py +4 -22
- robosystems_client/api/auth/logout_user.py +17 -17
- robosystems_client/api/auth/{refresh_session.py → refresh_auth_session.py} +21 -21
- robosystems_client/api/auth/resend_verification_email.py +222 -0
- robosystems_client/api/auth/reset_password.py +177 -0
- robosystems_client/api/auth/validate_reset_token.py +171 -0
- robosystems_client/api/auth/verify_email.py +177 -0
- robosystems_client/api/backup/create_backup.py +0 -18
- robosystems_client/api/backup/export_backup.py +0 -18
- robosystems_client/api/backup/get_backup_download_url.py +0 -18
- robosystems_client/api/backup/get_backup_stats.py +0 -18
- robosystems_client/api/backup/list_backups.py +0 -18
- robosystems_client/api/backup/restore_backup.py +0 -18
- robosystems_client/api/connections/create_connection.py +0 -18
- robosystems_client/api/connections/create_link_token.py +0 -18
- robosystems_client/api/connections/delete_connection.py +0 -18
- robosystems_client/api/connections/exchange_link_token.py +0 -18
- robosystems_client/api/connections/get_connection.py +0 -18
- robosystems_client/api/connections/get_connection_options.py +0 -18
- robosystems_client/api/connections/init_o_auth.py +0 -18
- robosystems_client/api/connections/list_connections.py +0 -18
- robosystems_client/api/connections/oauth_callback.py +4 -22
- robosystems_client/api/connections/sync_connection.py +0 -18
- robosystems_client/api/copy/copy_data_to_graph.py +0 -18
- robosystems_client/api/create/create_graph.py +0 -18
- robosystems_client/api/graph_analytics/get_graph_metrics.py +0 -18
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +0 -18
- robosystems_client/api/graph_billing/get_current_graph_bill.py +0 -18
- robosystems_client/api/graph_billing/get_graph_billing_history.py +0 -18
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +0 -18
- robosystems_client/api/graph_billing/get_graph_usage_details.py +0 -18
- robosystems_client/api/graph_credits/check_credit_balance.py +14 -28
- robosystems_client/api/graph_credits/check_storage_limits.py +0 -18
- robosystems_client/api/graph_credits/get_credit_summary.py +0 -18
- robosystems_client/api/graph_credits/get_storage_usage.py +0 -18
- robosystems_client/api/graph_credits/list_credit_transactions.py +0 -18
- robosystems_client/api/graph_health/get_database_health.py +0 -18
- robosystems_client/api/graph_info/get_database_info.py +0 -18
- robosystems_client/api/graph_limits/get_graph_limits.py +0 -18
- robosystems_client/api/mcp/call_mcp_tool.py +0 -18
- robosystems_client/api/mcp/list_mcp_tools.py +0 -18
- robosystems_client/api/operations/cancel_operation.py +0 -18
- robosystems_client/api/operations/get_operation_status.py +0 -18
- robosystems_client/api/operations/stream_operation_events.py +0 -18
- robosystems_client/api/query/execute_cypher_query.py +0 -18
- robosystems_client/api/schema/export_graph_schema.py +0 -18
- robosystems_client/api/schema/get_graph_schema_info.py +0 -18
- robosystems_client/api/schema/list_schema_extensions.py +0 -18
- robosystems_client/api/schema/validate_schema.py +0 -18
- robosystems_client/api/subgraphs/create_subgraph.py +0 -18
- robosystems_client/api/subgraphs/delete_subgraph.py +0 -18
- robosystems_client/api/subgraphs/get_subgraph_info.py +0 -18
- robosystems_client/api/subgraphs/get_subgraph_quota.py +0 -18
- robosystems_client/api/subgraphs/list_subgraphs.py +0 -18
- robosystems_client/api/user/create_user_api_key.py +0 -18
- robosystems_client/api/user/get_all_credit_summaries.py +0 -18
- robosystems_client/api/user/get_current_user.py +0 -18
- robosystems_client/api/user/get_user_graphs.py +0 -18
- robosystems_client/api/user/list_user_api_keys.py +0 -18
- robosystems_client/api/user/revoke_user_api_key.py +0 -18
- robosystems_client/api/user/select_user_graph.py +0 -18
- robosystems_client/api/user/update_user.py +0 -18
- robosystems_client/api/user/update_user_api_key.py +0 -18
- robosystems_client/api/user/update_user_password.py +0 -18
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +0 -18
- robosystems_client/api/user_analytics/get_user_usage_overview.py +0 -18
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +0 -18
- robosystems_client/api/user_limits/get_shared_repository_limits.py +0 -18
- robosystems_client/api/user_limits/get_user_limits.py +0 -18
- robosystems_client/api/user_limits/get_user_usage.py +0 -18
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +0 -18
- robosystems_client/api/user_subscriptions/get_repository_credits.py +0 -18
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +0 -18
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +0 -18
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +0 -18
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +0 -18
- robosystems_client/models/__init__.py +51 -3
- robosystems_client/models/agent_list_response.py +74 -0
- robosystems_client/models/agent_list_response_agents.py +67 -0
- robosystems_client/models/{credits_summary_response_credits_by_addon_item.py → agent_list_response_agents_additional_property.py} +5 -5
- robosystems_client/models/agent_message.py +35 -1
- robosystems_client/models/agent_metadata_response.py +133 -0
- robosystems_client/models/agent_mode.py +11 -0
- robosystems_client/models/agent_recommendation.py +106 -0
- robosystems_client/models/agent_recommendation_request.py +108 -0
- robosystems_client/models/agent_recommendation_request_context_type_0.py +44 -0
- robosystems_client/models/agent_recommendation_response.py +82 -0
- robosystems_client/models/agent_request.py +110 -6
- robosystems_client/models/agent_response.py +161 -11
- robosystems_client/models/agent_response_error_details_type_0.py +44 -0
- robosystems_client/models/agent_response_tokens_used_type_0.py +44 -0
- robosystems_client/models/auth_response.py +20 -6
- robosystems_client/models/batch_agent_request.py +85 -0
- robosystems_client/models/batch_agent_response.py +90 -0
- robosystems_client/models/credit_summary.py +35 -9
- robosystems_client/models/credits_summary_response.py +47 -21
- robosystems_client/models/credits_summary_response_credits_by_addon_type_0_item.py +44 -0
- robosystems_client/models/custom_schema_definition.py +7 -14
- robosystems_client/models/custom_schema_definition_metadata.py +1 -6
- robosystems_client/models/database_health_response.py +11 -11
- robosystems_client/models/database_info_response.py +13 -14
- robosystems_client/models/email_verification_request.py +60 -0
- robosystems_client/models/error_response.py +4 -8
- robosystems_client/models/forgot_password_request.py +60 -0
- robosystems_client/models/forgot_password_response_forgotpassword.py +44 -0
- robosystems_client/models/graph_metadata.py +4 -5
- robosystems_client/models/health_status.py +2 -2
- robosystems_client/models/repository_credits_response.py +43 -16
- robosystems_client/models/resend_verification_email_response_resendverificationemail.py +44 -0
- robosystems_client/models/reset_password_request.py +68 -0
- robosystems_client/models/reset_password_validate_response.py +82 -0
- robosystems_client/models/schema_export_response.py +5 -8
- robosystems_client/models/schema_validation_request.py +3 -5
- robosystems_client/models/schema_validation_response.py +5 -5
- robosystems_client/models/selection_criteria.py +122 -0
- robosystems_client/models/success_response.py +1 -1
- robosystems_client-0.1.17.dist-info/METADATA +89 -0
- {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/RECORD +128 -97
- robosystems_client-0.1.17.dist-info/licenses/LICENSE +21 -0
- robosystems_client/api/agent/query_financial_agent.py +0 -423
- robosystems_client-0.1.15.dist-info/METADATA +0 -302
- {robosystems_client-0.1.15.dist-info → robosystems_client-0.1.17.dist-info}/WHEEL +0 -0
|
@@ -16,16 +16,11 @@ def _get_kwargs(
|
|
|
16
16
|
format_: Union[Unset, str] = "json",
|
|
17
17
|
include_data_stats: Union[Unset, bool] = False,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
params: dict[str, Any] = {}
|
|
30
25
|
|
|
31
26
|
params["format"] = format_
|
|
@@ -38,7 +33,6 @@ def _get_kwargs(
|
|
|
38
33
|
"method": "get",
|
|
39
34
|
"url": f"/v1/{graph_id}/schema/export",
|
|
40
35
|
"params": params,
|
|
41
|
-
"cookies": cookies,
|
|
42
36
|
}
|
|
43
37
|
|
|
44
38
|
_kwargs["headers"] = headers
|
|
@@ -80,7 +74,6 @@ def sync_detailed(
|
|
|
80
74
|
format_: Union[Unset, str] = "json",
|
|
81
75
|
include_data_stats: Union[Unset, bool] = False,
|
|
82
76
|
authorization: Union[None, Unset, str] = UNSET,
|
|
83
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
84
77
|
) -> Response[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
85
78
|
"""Export Graph Schema
|
|
86
79
|
|
|
@@ -92,7 +85,6 @@ def sync_detailed(
|
|
|
92
85
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
93
86
|
Default: False.
|
|
94
87
|
authorization (Union[None, Unset, str]):
|
|
95
|
-
auth_token (Union[None, Unset, str]):
|
|
96
88
|
|
|
97
89
|
Raises:
|
|
98
90
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -107,7 +99,6 @@ def sync_detailed(
|
|
|
107
99
|
format_=format_,
|
|
108
100
|
include_data_stats=include_data_stats,
|
|
109
101
|
authorization=authorization,
|
|
110
|
-
auth_token=auth_token,
|
|
111
102
|
)
|
|
112
103
|
|
|
113
104
|
response = client.get_httpx_client().request(
|
|
@@ -124,7 +115,6 @@ def sync(
|
|
|
124
115
|
format_: Union[Unset, str] = "json",
|
|
125
116
|
include_data_stats: Union[Unset, bool] = False,
|
|
126
117
|
authorization: Union[None, Unset, str] = UNSET,
|
|
127
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
128
118
|
) -> Optional[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
129
119
|
"""Export Graph Schema
|
|
130
120
|
|
|
@@ -136,7 +126,6 @@ def sync(
|
|
|
136
126
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
137
127
|
Default: False.
|
|
138
128
|
authorization (Union[None, Unset, str]):
|
|
139
|
-
auth_token (Union[None, Unset, str]):
|
|
140
129
|
|
|
141
130
|
Raises:
|
|
142
131
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -152,7 +141,6 @@ def sync(
|
|
|
152
141
|
format_=format_,
|
|
153
142
|
include_data_stats=include_data_stats,
|
|
154
143
|
authorization=authorization,
|
|
155
|
-
auth_token=auth_token,
|
|
156
144
|
).parsed
|
|
157
145
|
|
|
158
146
|
|
|
@@ -163,7 +151,6 @@ async def asyncio_detailed(
|
|
|
163
151
|
format_: Union[Unset, str] = "json",
|
|
164
152
|
include_data_stats: Union[Unset, bool] = False,
|
|
165
153
|
authorization: Union[None, Unset, str] = UNSET,
|
|
166
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
167
154
|
) -> Response[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
168
155
|
"""Export Graph Schema
|
|
169
156
|
|
|
@@ -175,7 +162,6 @@ async def asyncio_detailed(
|
|
|
175
162
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
176
163
|
Default: False.
|
|
177
164
|
authorization (Union[None, Unset, str]):
|
|
178
|
-
auth_token (Union[None, Unset, str]):
|
|
179
165
|
|
|
180
166
|
Raises:
|
|
181
167
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -190,7 +176,6 @@ async def asyncio_detailed(
|
|
|
190
176
|
format_=format_,
|
|
191
177
|
include_data_stats=include_data_stats,
|
|
192
178
|
authorization=authorization,
|
|
193
|
-
auth_token=auth_token,
|
|
194
179
|
)
|
|
195
180
|
|
|
196
181
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -205,7 +190,6 @@ async def asyncio(
|
|
|
205
190
|
format_: Union[Unset, str] = "json",
|
|
206
191
|
include_data_stats: Union[Unset, bool] = False,
|
|
207
192
|
authorization: Union[None, Unset, str] = UNSET,
|
|
208
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
209
193
|
) -> Optional[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
210
194
|
"""Export Graph Schema
|
|
211
195
|
|
|
@@ -217,7 +201,6 @@ async def asyncio(
|
|
|
217
201
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
218
202
|
Default: False.
|
|
219
203
|
authorization (Union[None, Unset, str]):
|
|
220
|
-
auth_token (Union[None, Unset, str]):
|
|
221
204
|
|
|
222
205
|
Raises:
|
|
223
206
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -234,6 +217,5 @@ async def asyncio(
|
|
|
234
217
|
format_=format_,
|
|
235
218
|
include_data_stats=include_data_stats,
|
|
236
219
|
authorization=authorization,
|
|
237
|
-
auth_token=auth_token,
|
|
238
220
|
)
|
|
239
221
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
graph_id: str,
|
|
17
17
|
*,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "get",
|
|
31
26
|
"url": f"/v1/{graph_id}/schema/info",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["headers"] = headers
|
|
@@ -81,7 +75,6 @@ def sync_detailed(
|
|
|
81
75
|
*,
|
|
82
76
|
client: AuthenticatedClient,
|
|
83
77
|
authorization: Union[None, Unset, str] = UNSET,
|
|
84
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
85
78
|
) -> Response[
|
|
86
79
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
87
80
|
]:
|
|
@@ -102,7 +95,6 @@ def sync_detailed(
|
|
|
102
95
|
Args:
|
|
103
96
|
graph_id (str): The graph database to get schema for
|
|
104
97
|
authorization (Union[None, Unset, str]):
|
|
105
|
-
auth_token (Union[None, Unset, str]):
|
|
106
98
|
|
|
107
99
|
Raises:
|
|
108
100
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -115,7 +107,6 @@ def sync_detailed(
|
|
|
115
107
|
kwargs = _get_kwargs(
|
|
116
108
|
graph_id=graph_id,
|
|
117
109
|
authorization=authorization,
|
|
118
|
-
auth_token=auth_token,
|
|
119
110
|
)
|
|
120
111
|
|
|
121
112
|
response = client.get_httpx_client().request(
|
|
@@ -130,7 +121,6 @@ def sync(
|
|
|
130
121
|
*,
|
|
131
122
|
client: AuthenticatedClient,
|
|
132
123
|
authorization: Union[None, Unset, str] = UNSET,
|
|
133
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
134
124
|
) -> Optional[
|
|
135
125
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
136
126
|
]:
|
|
@@ -151,7 +141,6 @@ def sync(
|
|
|
151
141
|
Args:
|
|
152
142
|
graph_id (str): The graph database to get schema for
|
|
153
143
|
authorization (Union[None, Unset, str]):
|
|
154
|
-
auth_token (Union[None, Unset, str]):
|
|
155
144
|
|
|
156
145
|
Raises:
|
|
157
146
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -165,7 +154,6 @@ def sync(
|
|
|
165
154
|
graph_id=graph_id,
|
|
166
155
|
client=client,
|
|
167
156
|
authorization=authorization,
|
|
168
|
-
auth_token=auth_token,
|
|
169
157
|
).parsed
|
|
170
158
|
|
|
171
159
|
|
|
@@ -174,7 +162,6 @@ async def asyncio_detailed(
|
|
|
174
162
|
*,
|
|
175
163
|
client: AuthenticatedClient,
|
|
176
164
|
authorization: Union[None, Unset, str] = UNSET,
|
|
177
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
178
165
|
) -> Response[
|
|
179
166
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
180
167
|
]:
|
|
@@ -195,7 +182,6 @@ async def asyncio_detailed(
|
|
|
195
182
|
Args:
|
|
196
183
|
graph_id (str): The graph database to get schema for
|
|
197
184
|
authorization (Union[None, Unset, str]):
|
|
198
|
-
auth_token (Union[None, Unset, str]):
|
|
199
185
|
|
|
200
186
|
Raises:
|
|
201
187
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -208,7 +194,6 @@ async def asyncio_detailed(
|
|
|
208
194
|
kwargs = _get_kwargs(
|
|
209
195
|
graph_id=graph_id,
|
|
210
196
|
authorization=authorization,
|
|
211
|
-
auth_token=auth_token,
|
|
212
197
|
)
|
|
213
198
|
|
|
214
199
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -221,7 +206,6 @@ async def asyncio(
|
|
|
221
206
|
*,
|
|
222
207
|
client: AuthenticatedClient,
|
|
223
208
|
authorization: Union[None, Unset, str] = UNSET,
|
|
224
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
225
209
|
) -> Optional[
|
|
226
210
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
227
211
|
]:
|
|
@@ -242,7 +226,6 @@ async def asyncio(
|
|
|
242
226
|
Args:
|
|
243
227
|
graph_id (str): The graph database to get schema for
|
|
244
228
|
authorization (Union[None, Unset, str]):
|
|
245
|
-
auth_token (Union[None, Unset, str]):
|
|
246
229
|
|
|
247
230
|
Raises:
|
|
248
231
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -257,6 +240,5 @@ async def asyncio(
|
|
|
257
240
|
graph_id=graph_id,
|
|
258
241
|
client=client,
|
|
259
242
|
authorization=authorization,
|
|
260
|
-
auth_token=auth_token,
|
|
261
243
|
)
|
|
262
244
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
graph_id: str,
|
|
17
17
|
*,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "get",
|
|
31
26
|
"url": f"/v1/{graph_id}/schema/extensions",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["headers"] = headers
|
|
@@ -75,7 +69,6 @@ def sync_detailed(
|
|
|
75
69
|
*,
|
|
76
70
|
client: AuthenticatedClient,
|
|
77
71
|
authorization: Union[None, Unset, str] = UNSET,
|
|
78
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
79
72
|
) -> Response[
|
|
80
73
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
81
74
|
]:
|
|
@@ -86,7 +79,6 @@ def sync_detailed(
|
|
|
86
79
|
Args:
|
|
87
80
|
graph_id (str): The graph ID to list extensions for
|
|
88
81
|
authorization (Union[None, Unset, str]):
|
|
89
|
-
auth_token (Union[None, Unset, str]):
|
|
90
82
|
|
|
91
83
|
Raises:
|
|
92
84
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -99,7 +91,6 @@ def sync_detailed(
|
|
|
99
91
|
kwargs = _get_kwargs(
|
|
100
92
|
graph_id=graph_id,
|
|
101
93
|
authorization=authorization,
|
|
102
|
-
auth_token=auth_token,
|
|
103
94
|
)
|
|
104
95
|
|
|
105
96
|
response = client.get_httpx_client().request(
|
|
@@ -114,7 +105,6 @@ def sync(
|
|
|
114
105
|
*,
|
|
115
106
|
client: AuthenticatedClient,
|
|
116
107
|
authorization: Union[None, Unset, str] = UNSET,
|
|
117
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
118
108
|
) -> Optional[
|
|
119
109
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
120
110
|
]:
|
|
@@ -125,7 +115,6 @@ def sync(
|
|
|
125
115
|
Args:
|
|
126
116
|
graph_id (str): The graph ID to list extensions for
|
|
127
117
|
authorization (Union[None, Unset, str]):
|
|
128
|
-
auth_token (Union[None, Unset, str]):
|
|
129
118
|
|
|
130
119
|
Raises:
|
|
131
120
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -139,7 +128,6 @@ def sync(
|
|
|
139
128
|
graph_id=graph_id,
|
|
140
129
|
client=client,
|
|
141
130
|
authorization=authorization,
|
|
142
|
-
auth_token=auth_token,
|
|
143
131
|
).parsed
|
|
144
132
|
|
|
145
133
|
|
|
@@ -148,7 +136,6 @@ async def asyncio_detailed(
|
|
|
148
136
|
*,
|
|
149
137
|
client: AuthenticatedClient,
|
|
150
138
|
authorization: Union[None, Unset, str] = UNSET,
|
|
151
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
152
139
|
) -> Response[
|
|
153
140
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
154
141
|
]:
|
|
@@ -159,7 +146,6 @@ async def asyncio_detailed(
|
|
|
159
146
|
Args:
|
|
160
147
|
graph_id (str): The graph ID to list extensions for
|
|
161
148
|
authorization (Union[None, Unset, str]):
|
|
162
|
-
auth_token (Union[None, Unset, str]):
|
|
163
149
|
|
|
164
150
|
Raises:
|
|
165
151
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -172,7 +158,6 @@ async def asyncio_detailed(
|
|
|
172
158
|
kwargs = _get_kwargs(
|
|
173
159
|
graph_id=graph_id,
|
|
174
160
|
authorization=authorization,
|
|
175
|
-
auth_token=auth_token,
|
|
176
161
|
)
|
|
177
162
|
|
|
178
163
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -185,7 +170,6 @@ async def asyncio(
|
|
|
185
170
|
*,
|
|
186
171
|
client: AuthenticatedClient,
|
|
187
172
|
authorization: Union[None, Unset, str] = UNSET,
|
|
188
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
189
173
|
) -> Optional[
|
|
190
174
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
191
175
|
]:
|
|
@@ -196,7 +180,6 @@ async def asyncio(
|
|
|
196
180
|
Args:
|
|
197
181
|
graph_id (str): The graph ID to list extensions for
|
|
198
182
|
authorization (Union[None, Unset, str]):
|
|
199
|
-
auth_token (Union[None, Unset, str]):
|
|
200
183
|
|
|
201
184
|
Raises:
|
|
202
185
|
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
@@ -211,6 +194,5 @@ async def asyncio(
|
|
|
211
194
|
graph_id=graph_id,
|
|
212
195
|
client=client,
|
|
213
196
|
authorization=authorization,
|
|
214
|
-
auth_token=auth_token,
|
|
215
197
|
)
|
|
216
198
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: SchemaValidationRequest,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "post",
|
|
31
26
|
"url": f"/v1/{graph_id}/schema/validate",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["json"] = body.to_dict()
|
|
@@ -86,7 +80,6 @@ def sync_detailed(
|
|
|
86
80
|
client: AuthenticatedClient,
|
|
87
81
|
body: SchemaValidationRequest,
|
|
88
82
|
authorization: Union[None, Unset, str] = UNSET,
|
|
89
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
90
83
|
) -> Response[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
91
84
|
"""Validate Schema
|
|
92
85
|
|
|
@@ -116,7 +109,6 @@ def sync_detailed(
|
|
|
116
109
|
Args:
|
|
117
110
|
graph_id (str): Graph database identifier
|
|
118
111
|
authorization (Union[None, Unset, str]):
|
|
119
|
-
auth_token (Union[None, Unset, str]):
|
|
120
112
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
121
113
|
|
|
122
114
|
Raises:
|
|
@@ -131,7 +123,6 @@ def sync_detailed(
|
|
|
131
123
|
graph_id=graph_id,
|
|
132
124
|
body=body,
|
|
133
125
|
authorization=authorization,
|
|
134
|
-
auth_token=auth_token,
|
|
135
126
|
)
|
|
136
127
|
|
|
137
128
|
response = client.get_httpx_client().request(
|
|
@@ -147,7 +138,6 @@ def sync(
|
|
|
147
138
|
client: AuthenticatedClient,
|
|
148
139
|
body: SchemaValidationRequest,
|
|
149
140
|
authorization: Union[None, Unset, str] = UNSET,
|
|
150
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
151
141
|
) -> Optional[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
152
142
|
"""Validate Schema
|
|
153
143
|
|
|
@@ -177,7 +167,6 @@ def sync(
|
|
|
177
167
|
Args:
|
|
178
168
|
graph_id (str): Graph database identifier
|
|
179
169
|
authorization (Union[None, Unset, str]):
|
|
180
|
-
auth_token (Union[None, Unset, str]):
|
|
181
170
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
182
171
|
|
|
183
172
|
Raises:
|
|
@@ -193,7 +182,6 @@ def sync(
|
|
|
193
182
|
client=client,
|
|
194
183
|
body=body,
|
|
195
184
|
authorization=authorization,
|
|
196
|
-
auth_token=auth_token,
|
|
197
185
|
).parsed
|
|
198
186
|
|
|
199
187
|
|
|
@@ -203,7 +191,6 @@ async def asyncio_detailed(
|
|
|
203
191
|
client: AuthenticatedClient,
|
|
204
192
|
body: SchemaValidationRequest,
|
|
205
193
|
authorization: Union[None, Unset, str] = UNSET,
|
|
206
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
207
194
|
) -> Response[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
208
195
|
"""Validate Schema
|
|
209
196
|
|
|
@@ -233,7 +220,6 @@ async def asyncio_detailed(
|
|
|
233
220
|
Args:
|
|
234
221
|
graph_id (str): Graph database identifier
|
|
235
222
|
authorization (Union[None, Unset, str]):
|
|
236
|
-
auth_token (Union[None, Unset, str]):
|
|
237
223
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
238
224
|
|
|
239
225
|
Raises:
|
|
@@ -248,7 +234,6 @@ async def asyncio_detailed(
|
|
|
248
234
|
graph_id=graph_id,
|
|
249
235
|
body=body,
|
|
250
236
|
authorization=authorization,
|
|
251
|
-
auth_token=auth_token,
|
|
252
237
|
)
|
|
253
238
|
|
|
254
239
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -262,7 +247,6 @@ async def asyncio(
|
|
|
262
247
|
client: AuthenticatedClient,
|
|
263
248
|
body: SchemaValidationRequest,
|
|
264
249
|
authorization: Union[None, Unset, str] = UNSET,
|
|
265
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
266
250
|
) -> Optional[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
267
251
|
"""Validate Schema
|
|
268
252
|
|
|
@@ -292,7 +276,6 @@ async def asyncio(
|
|
|
292
276
|
Args:
|
|
293
277
|
graph_id (str): Graph database identifier
|
|
294
278
|
authorization (Union[None, Unset, str]):
|
|
295
|
-
auth_token (Union[None, Unset, str]):
|
|
296
279
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
297
280
|
|
|
298
281
|
Raises:
|
|
@@ -309,6 +292,5 @@ async def asyncio(
|
|
|
309
292
|
client=client,
|
|
310
293
|
body=body,
|
|
311
294
|
authorization=authorization,
|
|
312
|
-
auth_token=auth_token,
|
|
313
295
|
)
|
|
314
296
|
).parsed
|
|
@@ -16,20 +16,14 @@ def _get_kwargs(
|
|
|
16
16
|
*,
|
|
17
17
|
body: CreateSubgraphRequest,
|
|
18
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
20
19
|
) -> dict[str, Any]:
|
|
21
20
|
headers: dict[str, Any] = {}
|
|
22
21
|
if not isinstance(authorization, Unset):
|
|
23
22
|
headers["authorization"] = authorization
|
|
24
23
|
|
|
25
|
-
cookies = {}
|
|
26
|
-
if auth_token is not UNSET:
|
|
27
|
-
cookies["auth-token"] = auth_token
|
|
28
|
-
|
|
29
24
|
_kwargs: dict[str, Any] = {
|
|
30
25
|
"method": "post",
|
|
31
26
|
"url": f"/v1/{graph_id}/subgraphs",
|
|
32
|
-
"cookies": cookies,
|
|
33
27
|
}
|
|
34
28
|
|
|
35
29
|
_kwargs["json"] = body.to_dict()
|
|
@@ -74,7 +68,6 @@ def sync_detailed(
|
|
|
74
68
|
client: AuthenticatedClient,
|
|
75
69
|
body: CreateSubgraphRequest,
|
|
76
70
|
authorization: Union[None, Unset, str] = UNSET,
|
|
77
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
78
71
|
) -> Response[Union[HTTPValidationError, SubgraphResponse]]:
|
|
79
72
|
"""Create Subgraph
|
|
80
73
|
|
|
@@ -94,7 +87,6 @@ def sync_detailed(
|
|
|
94
87
|
Args:
|
|
95
88
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
96
89
|
authorization (Union[None, Unset, str]):
|
|
97
|
-
auth_token (Union[None, Unset, str]):
|
|
98
90
|
body (CreateSubgraphRequest): Request model for creating a subgraph.
|
|
99
91
|
|
|
100
92
|
Raises:
|
|
@@ -109,7 +101,6 @@ def sync_detailed(
|
|
|
109
101
|
graph_id=graph_id,
|
|
110
102
|
body=body,
|
|
111
103
|
authorization=authorization,
|
|
112
|
-
auth_token=auth_token,
|
|
113
104
|
)
|
|
114
105
|
|
|
115
106
|
response = client.get_httpx_client().request(
|
|
@@ -125,7 +116,6 @@ def sync(
|
|
|
125
116
|
client: AuthenticatedClient,
|
|
126
117
|
body: CreateSubgraphRequest,
|
|
127
118
|
authorization: Union[None, Unset, str] = UNSET,
|
|
128
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
129
119
|
) -> Optional[Union[HTTPValidationError, SubgraphResponse]]:
|
|
130
120
|
"""Create Subgraph
|
|
131
121
|
|
|
@@ -145,7 +135,6 @@ def sync(
|
|
|
145
135
|
Args:
|
|
146
136
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
147
137
|
authorization (Union[None, Unset, str]):
|
|
148
|
-
auth_token (Union[None, Unset, str]):
|
|
149
138
|
body (CreateSubgraphRequest): Request model for creating a subgraph.
|
|
150
139
|
|
|
151
140
|
Raises:
|
|
@@ -161,7 +150,6 @@ def sync(
|
|
|
161
150
|
client=client,
|
|
162
151
|
body=body,
|
|
163
152
|
authorization=authorization,
|
|
164
|
-
auth_token=auth_token,
|
|
165
153
|
).parsed
|
|
166
154
|
|
|
167
155
|
|
|
@@ -171,7 +159,6 @@ async def asyncio_detailed(
|
|
|
171
159
|
client: AuthenticatedClient,
|
|
172
160
|
body: CreateSubgraphRequest,
|
|
173
161
|
authorization: Union[None, Unset, str] = UNSET,
|
|
174
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
175
162
|
) -> Response[Union[HTTPValidationError, SubgraphResponse]]:
|
|
176
163
|
"""Create Subgraph
|
|
177
164
|
|
|
@@ -191,7 +178,6 @@ async def asyncio_detailed(
|
|
|
191
178
|
Args:
|
|
192
179
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
193
180
|
authorization (Union[None, Unset, str]):
|
|
194
|
-
auth_token (Union[None, Unset, str]):
|
|
195
181
|
body (CreateSubgraphRequest): Request model for creating a subgraph.
|
|
196
182
|
|
|
197
183
|
Raises:
|
|
@@ -206,7 +192,6 @@ async def asyncio_detailed(
|
|
|
206
192
|
graph_id=graph_id,
|
|
207
193
|
body=body,
|
|
208
194
|
authorization=authorization,
|
|
209
|
-
auth_token=auth_token,
|
|
210
195
|
)
|
|
211
196
|
|
|
212
197
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -220,7 +205,6 @@ async def asyncio(
|
|
|
220
205
|
client: AuthenticatedClient,
|
|
221
206
|
body: CreateSubgraphRequest,
|
|
222
207
|
authorization: Union[None, Unset, str] = UNSET,
|
|
223
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
224
208
|
) -> Optional[Union[HTTPValidationError, SubgraphResponse]]:
|
|
225
209
|
"""Create Subgraph
|
|
226
210
|
|
|
@@ -240,7 +224,6 @@ async def asyncio(
|
|
|
240
224
|
Args:
|
|
241
225
|
graph_id (str): Parent graph ID (e.g., 'kg1a2b3c4d5')
|
|
242
226
|
authorization (Union[None, Unset, str]):
|
|
243
|
-
auth_token (Union[None, Unset, str]):
|
|
244
227
|
body (CreateSubgraphRequest): Request model for creating a subgraph.
|
|
245
228
|
|
|
246
229
|
Raises:
|
|
@@ -257,6 +240,5 @@ async def asyncio(
|
|
|
257
240
|
client=client,
|
|
258
241
|
body=body,
|
|
259
242
|
authorization=authorization,
|
|
260
|
-
auth_token=auth_token,
|
|
261
243
|
)
|
|
262
244
|
).parsed
|
|
@@ -17,20 +17,14 @@ def _get_kwargs(
|
|
|
17
17
|
*,
|
|
18
18
|
body: DeleteSubgraphRequest,
|
|
19
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
20
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
21
20
|
) -> dict[str, Any]:
|
|
22
21
|
headers: dict[str, Any] = {}
|
|
23
22
|
if not isinstance(authorization, Unset):
|
|
24
23
|
headers["authorization"] = authorization
|
|
25
24
|
|
|
26
|
-
cookies = {}
|
|
27
|
-
if auth_token is not UNSET:
|
|
28
|
-
cookies["auth-token"] = auth_token
|
|
29
|
-
|
|
30
25
|
_kwargs: dict[str, Any] = {
|
|
31
26
|
"method": "delete",
|
|
32
27
|
"url": f"/v1/{graph_id}/subgraphs/{subgraph_id}",
|
|
33
|
-
"cookies": cookies,
|
|
34
28
|
}
|
|
35
29
|
|
|
36
30
|
_kwargs["json"] = body.to_dict()
|
|
@@ -94,7 +88,6 @@ def sync_detailed(
|
|
|
94
88
|
client: AuthenticatedClient,
|
|
95
89
|
body: DeleteSubgraphRequest,
|
|
96
90
|
authorization: Union[None, Unset, str] = UNSET,
|
|
97
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
98
91
|
) -> Response[Union[Any, DeleteSubgraphResponse, HTTPValidationError]]:
|
|
99
92
|
"""Delete Subgraph
|
|
100
93
|
|
|
@@ -121,7 +114,6 @@ def sync_detailed(
|
|
|
121
114
|
graph_id (str): Parent graph identifier
|
|
122
115
|
subgraph_id (str): Subgraph identifier to delete
|
|
123
116
|
authorization (Union[None, Unset, str]):
|
|
124
|
-
auth_token (Union[None, Unset, str]):
|
|
125
117
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
126
118
|
|
|
127
119
|
Raises:
|
|
@@ -137,7 +129,6 @@ def sync_detailed(
|
|
|
137
129
|
subgraph_id=subgraph_id,
|
|
138
130
|
body=body,
|
|
139
131
|
authorization=authorization,
|
|
140
|
-
auth_token=auth_token,
|
|
141
132
|
)
|
|
142
133
|
|
|
143
134
|
response = client.get_httpx_client().request(
|
|
@@ -154,7 +145,6 @@ def sync(
|
|
|
154
145
|
client: AuthenticatedClient,
|
|
155
146
|
body: DeleteSubgraphRequest,
|
|
156
147
|
authorization: Union[None, Unset, str] = UNSET,
|
|
157
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
158
148
|
) -> Optional[Union[Any, DeleteSubgraphResponse, HTTPValidationError]]:
|
|
159
149
|
"""Delete Subgraph
|
|
160
150
|
|
|
@@ -181,7 +171,6 @@ def sync(
|
|
|
181
171
|
graph_id (str): Parent graph identifier
|
|
182
172
|
subgraph_id (str): Subgraph identifier to delete
|
|
183
173
|
authorization (Union[None, Unset, str]):
|
|
184
|
-
auth_token (Union[None, Unset, str]):
|
|
185
174
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
186
175
|
|
|
187
176
|
Raises:
|
|
@@ -198,7 +187,6 @@ def sync(
|
|
|
198
187
|
client=client,
|
|
199
188
|
body=body,
|
|
200
189
|
authorization=authorization,
|
|
201
|
-
auth_token=auth_token,
|
|
202
190
|
).parsed
|
|
203
191
|
|
|
204
192
|
|
|
@@ -209,7 +197,6 @@ async def asyncio_detailed(
|
|
|
209
197
|
client: AuthenticatedClient,
|
|
210
198
|
body: DeleteSubgraphRequest,
|
|
211
199
|
authorization: Union[None, Unset, str] = UNSET,
|
|
212
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
213
200
|
) -> Response[Union[Any, DeleteSubgraphResponse, HTTPValidationError]]:
|
|
214
201
|
"""Delete Subgraph
|
|
215
202
|
|
|
@@ -236,7 +223,6 @@ async def asyncio_detailed(
|
|
|
236
223
|
graph_id (str): Parent graph identifier
|
|
237
224
|
subgraph_id (str): Subgraph identifier to delete
|
|
238
225
|
authorization (Union[None, Unset, str]):
|
|
239
|
-
auth_token (Union[None, Unset, str]):
|
|
240
226
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
241
227
|
|
|
242
228
|
Raises:
|
|
@@ -252,7 +238,6 @@ async def asyncio_detailed(
|
|
|
252
238
|
subgraph_id=subgraph_id,
|
|
253
239
|
body=body,
|
|
254
240
|
authorization=authorization,
|
|
255
|
-
auth_token=auth_token,
|
|
256
241
|
)
|
|
257
242
|
|
|
258
243
|
response = await client.get_async_httpx_client().request(**kwargs)
|
|
@@ -267,7 +252,6 @@ async def asyncio(
|
|
|
267
252
|
client: AuthenticatedClient,
|
|
268
253
|
body: DeleteSubgraphRequest,
|
|
269
254
|
authorization: Union[None, Unset, str] = UNSET,
|
|
270
|
-
auth_token: Union[None, Unset, str] = UNSET,
|
|
271
255
|
) -> Optional[Union[Any, DeleteSubgraphResponse, HTTPValidationError]]:
|
|
272
256
|
"""Delete Subgraph
|
|
273
257
|
|
|
@@ -294,7 +278,6 @@ async def asyncio(
|
|
|
294
278
|
graph_id (str): Parent graph identifier
|
|
295
279
|
subgraph_id (str): Subgraph identifier to delete
|
|
296
280
|
authorization (Union[None, Unset, str]):
|
|
297
|
-
auth_token (Union[None, Unset, str]):
|
|
298
281
|
body (DeleteSubgraphRequest): Request model for deleting a subgraph.
|
|
299
282
|
|
|
300
283
|
Raises:
|
|
@@ -312,6 +295,5 @@ async def asyncio(
|
|
|
312
295
|
client=client,
|
|
313
296
|
body=body,
|
|
314
297
|
authorization=authorization,
|
|
315
|
-
auth_token=auth_token,
|
|
316
298
|
)
|
|
317
299
|
).parsed
|