robosystems-client 0.1.17__py3-none-any.whl → 0.1.19__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/__init__.py +15 -4
- robosystems_client/api/agent/auto_select_agent.py +26 -1
- robosystems_client/api/agent/batch_process_queries.py +26 -1
- robosystems_client/api/agent/execute_specific_agent.py +26 -1
- robosystems_client/api/agent/get_agent_metadata.py +26 -1
- robosystems_client/api/agent/list_agents.py +21 -1
- robosystems_client/api/agent/recommend_agent.py +26 -1
- robosystems_client/api/backup/create_backup.py +26 -1
- robosystems_client/api/backup/export_backup.py +26 -1
- robosystems_client/api/backup/get_backup_download_url.py +21 -1
- robosystems_client/api/backup/get_backup_stats.py +26 -1
- robosystems_client/api/backup/list_backups.py +21 -1
- robosystems_client/api/backup/restore_backup.py +26 -1
- robosystems_client/api/connections/create_connection.py +26 -1
- robosystems_client/api/connections/create_link_token.py +26 -1
- robosystems_client/api/connections/delete_connection.py +26 -1
- robosystems_client/api/connections/exchange_link_token.py +26 -1
- robosystems_client/api/connections/get_connection.py +26 -1
- robosystems_client/api/connections/get_connection_options.py +26 -1
- robosystems_client/api/connections/init_o_auth.py +26 -1
- robosystems_client/api/connections/list_connections.py +21 -1
- robosystems_client/api/connections/oauth_callback.py +26 -1
- robosystems_client/api/connections/sync_connection.py +26 -1
- robosystems_client/api/copy/copy_data_to_graph.py +26 -1
- robosystems_client/api/graph_analytics/get_graph_metrics.py +26 -1
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +21 -1
- robosystems_client/api/graph_billing/get_current_graph_bill.py +26 -1
- robosystems_client/api/graph_billing/get_graph_billing_history.py +21 -1
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +26 -1
- robosystems_client/api/graph_billing/get_graph_usage_details.py +21 -1
- robosystems_client/api/graph_credits/check_credit_balance.py +21 -1
- robosystems_client/api/graph_credits/check_storage_limits.py +26 -1
- robosystems_client/api/graph_credits/get_credit_summary.py +26 -1
- robosystems_client/api/graph_credits/get_storage_usage.py +21 -1
- robosystems_client/api/graph_credits/list_credit_transactions.py +21 -1
- robosystems_client/api/graph_health/get_database_health.py +26 -1
- robosystems_client/api/graph_info/get_database_info.py +26 -1
- robosystems_client/api/graph_limits/get_graph_limits.py +26 -1
- robosystems_client/api/{create → graphs}/create_graph.py +26 -1
- robosystems_client/api/{create → graphs}/get_available_extensions.py +1 -1
- robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +26 -1
- robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +30 -5
- robosystems_client/api/mcp/call_mcp_tool.py +21 -1
- robosystems_client/api/mcp/list_mcp_tools.py +26 -1
- robosystems_client/api/operations/cancel_operation.py +25 -0
- robosystems_client/api/operations/get_operation_status.py +25 -0
- robosystems_client/api/operations/stream_operation_events.py +20 -0
- robosystems_client/api/query/execute_cypher_query.py +21 -1
- robosystems_client/api/schema/export_graph_schema.py +21 -1
- robosystems_client/api/schema/get_graph_schema_info.py +26 -1
- robosystems_client/api/schema/list_schema_extensions.py +26 -1
- robosystems_client/api/schema/validate_schema.py +26 -1
- robosystems_client/api/subgraphs/create_subgraph.py +26 -1
- robosystems_client/api/subgraphs/delete_subgraph.py +26 -1
- robosystems_client/api/subgraphs/get_subgraph_info.py +26 -1
- robosystems_client/api/subgraphs/get_subgraph_quota.py +26 -1
- robosystems_client/api/subgraphs/list_subgraphs.py +26 -1
- robosystems_client/api/user/create_user_api_key.py +25 -0
- robosystems_client/api/user/get_all_credit_summaries.py +25 -0
- robosystems_client/api/user/get_current_user.py +25 -0
- robosystems_client/api/user/list_user_api_keys.py +25 -0
- robosystems_client/api/user/revoke_user_api_key.py +25 -0
- robosystems_client/api/user/update_user.py +25 -0
- robosystems_client/api/user/update_user_api_key.py +25 -0
- robosystems_client/api/user/update_user_password.py +25 -0
- robosystems_client/api/user_analytics/get_detailed_user_analytics.py +20 -0
- robosystems_client/api/user_analytics/get_user_usage_overview.py +25 -0
- robosystems_client/api/user_limits/get_all_shared_repository_limits.py +25 -0
- robosystems_client/api/user_limits/get_shared_repository_limits.py +25 -0
- robosystems_client/api/user_limits/get_user_limits.py +25 -0
- robosystems_client/api/user_limits/get_user_usage.py +25 -0
- robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +25 -0
- robosystems_client/api/user_subscriptions/get_repository_credits.py +25 -0
- robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +25 -0
- robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +20 -0
- robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +25 -0
- robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +25 -0
- robosystems_client/extensions/__init__.py +70 -0
- robosystems_client/extensions/auth_integration.py +14 -1
- robosystems_client/extensions/copy_client.py +32 -22
- robosystems_client/extensions/dataframe_utils.py +455 -0
- robosystems_client/extensions/extensions.py +16 -0
- robosystems_client/extensions/operation_client.py +43 -21
- robosystems_client/extensions/query_client.py +109 -12
- robosystems_client/extensions/tests/test_dataframe_utils.py +334 -0
- robosystems_client/extensions/tests/test_integration.py +1 -1
- robosystems_client/extensions/tests/test_token_utils.py +274 -0
- robosystems_client/extensions/token_utils.py +417 -0
- robosystems_client/extensions/utils.py +32 -2
- robosystems_client/models/__init__.py +0 -2
- robosystems_client/models/api_key_info.py +20 -0
- robosystems_client/models/create_api_key_request.py +20 -0
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/METADATA +1 -1
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/RECORD +97 -95
- robosystems_client/api/auth/sso_login.py +0 -177
- robosystems_client/models/sso_login_request.py +0 -60
- /robosystems_client/api/{create → graphs}/__init__.py +0 -0
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.19.dist-info}/licenses/LICENSE +0 -0
|
@@ -18,6 +18,7 @@ def _get_kwargs(
|
|
|
18
18
|
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
19
19
|
chunk_size: Union[Unset, int] = 1000,
|
|
20
20
|
test_mode: Union[Unset, bool] = False,
|
|
21
|
+
token: Union[None, Unset, str] = UNSET,
|
|
21
22
|
authorization: Union[None, Unset, str] = UNSET,
|
|
22
23
|
) -> dict[str, Any]:
|
|
23
24
|
headers: dict[str, Any] = {}
|
|
@@ -39,11 +40,18 @@ def _get_kwargs(
|
|
|
39
40
|
|
|
40
41
|
params["test_mode"] = test_mode
|
|
41
42
|
|
|
43
|
+
json_token: Union[None, Unset, str]
|
|
44
|
+
if isinstance(token, Unset):
|
|
45
|
+
json_token = UNSET
|
|
46
|
+
else:
|
|
47
|
+
json_token = token
|
|
48
|
+
params["token"] = json_token
|
|
49
|
+
|
|
42
50
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
43
51
|
|
|
44
52
|
_kwargs: dict[str, Any] = {
|
|
45
53
|
"method": "post",
|
|
46
|
-
"url": f"/v1/{graph_id}/query",
|
|
54
|
+
"url": f"/v1/graphs/{graph_id}/query",
|
|
47
55
|
"params": params,
|
|
48
56
|
}
|
|
49
57
|
|
|
@@ -111,6 +119,7 @@ def sync_detailed(
|
|
|
111
119
|
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
112
120
|
chunk_size: Union[Unset, int] = 1000,
|
|
113
121
|
test_mode: Union[Unset, bool] = False,
|
|
122
|
+
token: Union[None, Unset, str] = UNSET,
|
|
114
123
|
authorization: Union[None, Unset, str] = UNSET,
|
|
115
124
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
116
125
|
"""Execute Cypher Query
|
|
@@ -168,6 +177,7 @@ def sync_detailed(
|
|
|
168
177
|
mode (Union[None, ResponseMode, Unset]): Response mode override
|
|
169
178
|
chunk_size (Union[Unset, int]): Rows per chunk for streaming Default: 1000.
|
|
170
179
|
test_mode (Union[Unset, bool]): Enable test mode for better debugging Default: False.
|
|
180
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
171
181
|
authorization (Union[None, Unset, str]):
|
|
172
182
|
body (CypherQueryRequest): Request model for Cypher query execution.
|
|
173
183
|
|
|
@@ -185,6 +195,7 @@ def sync_detailed(
|
|
|
185
195
|
mode=mode,
|
|
186
196
|
chunk_size=chunk_size,
|
|
187
197
|
test_mode=test_mode,
|
|
198
|
+
token=token,
|
|
188
199
|
authorization=authorization,
|
|
189
200
|
)
|
|
190
201
|
|
|
@@ -203,6 +214,7 @@ def sync(
|
|
|
203
214
|
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
204
215
|
chunk_size: Union[Unset, int] = 1000,
|
|
205
216
|
test_mode: Union[Unset, bool] = False,
|
|
217
|
+
token: Union[None, Unset, str] = UNSET,
|
|
206
218
|
authorization: Union[None, Unset, str] = UNSET,
|
|
207
219
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
208
220
|
"""Execute Cypher Query
|
|
@@ -260,6 +272,7 @@ def sync(
|
|
|
260
272
|
mode (Union[None, ResponseMode, Unset]): Response mode override
|
|
261
273
|
chunk_size (Union[Unset, int]): Rows per chunk for streaming Default: 1000.
|
|
262
274
|
test_mode (Union[Unset, bool]): Enable test mode for better debugging Default: False.
|
|
275
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
263
276
|
authorization (Union[None, Unset, str]):
|
|
264
277
|
body (CypherQueryRequest): Request model for Cypher query execution.
|
|
265
278
|
|
|
@@ -278,6 +291,7 @@ def sync(
|
|
|
278
291
|
mode=mode,
|
|
279
292
|
chunk_size=chunk_size,
|
|
280
293
|
test_mode=test_mode,
|
|
294
|
+
token=token,
|
|
281
295
|
authorization=authorization,
|
|
282
296
|
).parsed
|
|
283
297
|
|
|
@@ -290,6 +304,7 @@ async def asyncio_detailed(
|
|
|
290
304
|
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
291
305
|
chunk_size: Union[Unset, int] = 1000,
|
|
292
306
|
test_mode: Union[Unset, bool] = False,
|
|
307
|
+
token: Union[None, Unset, str] = UNSET,
|
|
293
308
|
authorization: Union[None, Unset, str] = UNSET,
|
|
294
309
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
295
310
|
"""Execute Cypher Query
|
|
@@ -347,6 +362,7 @@ async def asyncio_detailed(
|
|
|
347
362
|
mode (Union[None, ResponseMode, Unset]): Response mode override
|
|
348
363
|
chunk_size (Union[Unset, int]): Rows per chunk for streaming Default: 1000.
|
|
349
364
|
test_mode (Union[Unset, bool]): Enable test mode for better debugging Default: False.
|
|
365
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
350
366
|
authorization (Union[None, Unset, str]):
|
|
351
367
|
body (CypherQueryRequest): Request model for Cypher query execution.
|
|
352
368
|
|
|
@@ -364,6 +380,7 @@ async def asyncio_detailed(
|
|
|
364
380
|
mode=mode,
|
|
365
381
|
chunk_size=chunk_size,
|
|
366
382
|
test_mode=test_mode,
|
|
383
|
+
token=token,
|
|
367
384
|
authorization=authorization,
|
|
368
385
|
)
|
|
369
386
|
|
|
@@ -380,6 +397,7 @@ async def asyncio(
|
|
|
380
397
|
mode: Union[None, ResponseMode, Unset] = UNSET,
|
|
381
398
|
chunk_size: Union[Unset, int] = 1000,
|
|
382
399
|
test_mode: Union[Unset, bool] = False,
|
|
400
|
+
token: Union[None, Unset, str] = UNSET,
|
|
383
401
|
authorization: Union[None, Unset, str] = UNSET,
|
|
384
402
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
385
403
|
"""Execute Cypher Query
|
|
@@ -437,6 +455,7 @@ async def asyncio(
|
|
|
437
455
|
mode (Union[None, ResponseMode, Unset]): Response mode override
|
|
438
456
|
chunk_size (Union[Unset, int]): Rows per chunk for streaming Default: 1000.
|
|
439
457
|
test_mode (Union[Unset, bool]): Enable test mode for better debugging Default: False.
|
|
458
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
440
459
|
authorization (Union[None, Unset, str]):
|
|
441
460
|
body (CypherQueryRequest): Request model for Cypher query execution.
|
|
442
461
|
|
|
@@ -456,6 +475,7 @@ async def asyncio(
|
|
|
456
475
|
mode=mode,
|
|
457
476
|
chunk_size=chunk_size,
|
|
458
477
|
test_mode=test_mode,
|
|
478
|
+
token=token,
|
|
459
479
|
authorization=authorization,
|
|
460
480
|
)
|
|
461
481
|
).parsed
|
|
@@ -15,6 +15,7 @@ def _get_kwargs(
|
|
|
15
15
|
*,
|
|
16
16
|
format_: Union[Unset, str] = "json",
|
|
17
17
|
include_data_stats: Union[Unset, bool] = False,
|
|
18
|
+
token: Union[None, Unset, str] = UNSET,
|
|
18
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
20
|
) -> dict[str, Any]:
|
|
20
21
|
headers: dict[str, Any] = {}
|
|
@@ -27,11 +28,18 @@ def _get_kwargs(
|
|
|
27
28
|
|
|
28
29
|
params["include_data_stats"] = include_data_stats
|
|
29
30
|
|
|
31
|
+
json_token: Union[None, Unset, str]
|
|
32
|
+
if isinstance(token, Unset):
|
|
33
|
+
json_token = UNSET
|
|
34
|
+
else:
|
|
35
|
+
json_token = token
|
|
36
|
+
params["token"] = json_token
|
|
37
|
+
|
|
30
38
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
31
39
|
|
|
32
40
|
_kwargs: dict[str, Any] = {
|
|
33
41
|
"method": "get",
|
|
34
|
-
"url": f"/v1/{graph_id}/schema/export",
|
|
42
|
+
"url": f"/v1/graphs/{graph_id}/schema/export",
|
|
35
43
|
"params": params,
|
|
36
44
|
}
|
|
37
45
|
|
|
@@ -73,6 +81,7 @@ def sync_detailed(
|
|
|
73
81
|
client: AuthenticatedClient,
|
|
74
82
|
format_: Union[Unset, str] = "json",
|
|
75
83
|
include_data_stats: Union[Unset, bool] = False,
|
|
84
|
+
token: Union[None, Unset, str] = UNSET,
|
|
76
85
|
authorization: Union[None, Unset, str] = UNSET,
|
|
77
86
|
) -> Response[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
78
87
|
"""Export Graph Schema
|
|
@@ -84,6 +93,7 @@ def sync_detailed(
|
|
|
84
93
|
format_ (Union[Unset, str]): Export format: json, yaml, or cypher Default: 'json'.
|
|
85
94
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
86
95
|
Default: False.
|
|
96
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
87
97
|
authorization (Union[None, Unset, str]):
|
|
88
98
|
|
|
89
99
|
Raises:
|
|
@@ -98,6 +108,7 @@ def sync_detailed(
|
|
|
98
108
|
graph_id=graph_id,
|
|
99
109
|
format_=format_,
|
|
100
110
|
include_data_stats=include_data_stats,
|
|
111
|
+
token=token,
|
|
101
112
|
authorization=authorization,
|
|
102
113
|
)
|
|
103
114
|
|
|
@@ -114,6 +125,7 @@ def sync(
|
|
|
114
125
|
client: AuthenticatedClient,
|
|
115
126
|
format_: Union[Unset, str] = "json",
|
|
116
127
|
include_data_stats: Union[Unset, bool] = False,
|
|
128
|
+
token: Union[None, Unset, str] = UNSET,
|
|
117
129
|
authorization: Union[None, Unset, str] = UNSET,
|
|
118
130
|
) -> Optional[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
119
131
|
"""Export Graph Schema
|
|
@@ -125,6 +137,7 @@ def sync(
|
|
|
125
137
|
format_ (Union[Unset, str]): Export format: json, yaml, or cypher Default: 'json'.
|
|
126
138
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
127
139
|
Default: False.
|
|
140
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
128
141
|
authorization (Union[None, Unset, str]):
|
|
129
142
|
|
|
130
143
|
Raises:
|
|
@@ -140,6 +153,7 @@ def sync(
|
|
|
140
153
|
client=client,
|
|
141
154
|
format_=format_,
|
|
142
155
|
include_data_stats=include_data_stats,
|
|
156
|
+
token=token,
|
|
143
157
|
authorization=authorization,
|
|
144
158
|
).parsed
|
|
145
159
|
|
|
@@ -150,6 +164,7 @@ async def asyncio_detailed(
|
|
|
150
164
|
client: AuthenticatedClient,
|
|
151
165
|
format_: Union[Unset, str] = "json",
|
|
152
166
|
include_data_stats: Union[Unset, bool] = False,
|
|
167
|
+
token: Union[None, Unset, str] = UNSET,
|
|
153
168
|
authorization: Union[None, Unset, str] = UNSET,
|
|
154
169
|
) -> Response[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
155
170
|
"""Export Graph Schema
|
|
@@ -161,6 +176,7 @@ async def asyncio_detailed(
|
|
|
161
176
|
format_ (Union[Unset, str]): Export format: json, yaml, or cypher Default: 'json'.
|
|
162
177
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
163
178
|
Default: False.
|
|
179
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
164
180
|
authorization (Union[None, Unset, str]):
|
|
165
181
|
|
|
166
182
|
Raises:
|
|
@@ -175,6 +191,7 @@ async def asyncio_detailed(
|
|
|
175
191
|
graph_id=graph_id,
|
|
176
192
|
format_=format_,
|
|
177
193
|
include_data_stats=include_data_stats,
|
|
194
|
+
token=token,
|
|
178
195
|
authorization=authorization,
|
|
179
196
|
)
|
|
180
197
|
|
|
@@ -189,6 +206,7 @@ async def asyncio(
|
|
|
189
206
|
client: AuthenticatedClient,
|
|
190
207
|
format_: Union[Unset, str] = "json",
|
|
191
208
|
include_data_stats: Union[Unset, bool] = False,
|
|
209
|
+
token: Union[None, Unset, str] = UNSET,
|
|
192
210
|
authorization: Union[None, Unset, str] = UNSET,
|
|
193
211
|
) -> Optional[Union[HTTPValidationError, SchemaExportResponse]]:
|
|
194
212
|
"""Export Graph Schema
|
|
@@ -200,6 +218,7 @@ async def asyncio(
|
|
|
200
218
|
format_ (Union[Unset, str]): Export format: json, yaml, or cypher Default: 'json'.
|
|
201
219
|
include_data_stats (Union[Unset, bool]): Include statistics about actual data in the graph
|
|
202
220
|
Default: False.
|
|
221
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
203
222
|
authorization (Union[None, Unset, str]):
|
|
204
223
|
|
|
205
224
|
Raises:
|
|
@@ -216,6 +235,7 @@ async def asyncio(
|
|
|
216
235
|
client=client,
|
|
217
236
|
format_=format_,
|
|
218
237
|
include_data_stats=include_data_stats,
|
|
238
|
+
token=token,
|
|
219
239
|
authorization=authorization,
|
|
220
240
|
)
|
|
221
241
|
).parsed
|
|
@@ -15,15 +15,28 @@ from ...types import UNSET, Response, Unset
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
graph_id: str,
|
|
17
17
|
*,
|
|
18
|
+
token: Union[None, Unset, str] = UNSET,
|
|
18
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
20
|
) -> dict[str, Any]:
|
|
20
21
|
headers: dict[str, Any] = {}
|
|
21
22
|
if not isinstance(authorization, Unset):
|
|
22
23
|
headers["authorization"] = authorization
|
|
23
24
|
|
|
25
|
+
params: dict[str, Any] = {}
|
|
26
|
+
|
|
27
|
+
json_token: Union[None, Unset, str]
|
|
28
|
+
if isinstance(token, Unset):
|
|
29
|
+
json_token = UNSET
|
|
30
|
+
else:
|
|
31
|
+
json_token = token
|
|
32
|
+
params["token"] = json_token
|
|
33
|
+
|
|
34
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
35
|
+
|
|
24
36
|
_kwargs: dict[str, Any] = {
|
|
25
37
|
"method": "get",
|
|
26
|
-
"url": f"/v1/{graph_id}/schema/info",
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/schema/info",
|
|
39
|
+
"params": params,
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
_kwargs["headers"] = headers
|
|
@@ -74,6 +87,7 @@ def sync_detailed(
|
|
|
74
87
|
graph_id: str,
|
|
75
88
|
*,
|
|
76
89
|
client: AuthenticatedClient,
|
|
90
|
+
token: Union[None, Unset, str] = UNSET,
|
|
77
91
|
authorization: Union[None, Unset, str] = UNSET,
|
|
78
92
|
) -> Response[
|
|
79
93
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
@@ -94,6 +108,7 @@ def sync_detailed(
|
|
|
94
108
|
|
|
95
109
|
Args:
|
|
96
110
|
graph_id (str): The graph database to get schema for
|
|
111
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
97
112
|
authorization (Union[None, Unset, str]):
|
|
98
113
|
|
|
99
114
|
Raises:
|
|
@@ -106,6 +121,7 @@ def sync_detailed(
|
|
|
106
121
|
|
|
107
122
|
kwargs = _get_kwargs(
|
|
108
123
|
graph_id=graph_id,
|
|
124
|
+
token=token,
|
|
109
125
|
authorization=authorization,
|
|
110
126
|
)
|
|
111
127
|
|
|
@@ -120,6 +136,7 @@ def sync(
|
|
|
120
136
|
graph_id: str,
|
|
121
137
|
*,
|
|
122
138
|
client: AuthenticatedClient,
|
|
139
|
+
token: Union[None, Unset, str] = UNSET,
|
|
123
140
|
authorization: Union[None, Unset, str] = UNSET,
|
|
124
141
|
) -> Optional[
|
|
125
142
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
@@ -140,6 +157,7 @@ def sync(
|
|
|
140
157
|
|
|
141
158
|
Args:
|
|
142
159
|
graph_id (str): The graph database to get schema for
|
|
160
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
143
161
|
authorization (Union[None, Unset, str]):
|
|
144
162
|
|
|
145
163
|
Raises:
|
|
@@ -153,6 +171,7 @@ def sync(
|
|
|
153
171
|
return sync_detailed(
|
|
154
172
|
graph_id=graph_id,
|
|
155
173
|
client=client,
|
|
174
|
+
token=token,
|
|
156
175
|
authorization=authorization,
|
|
157
176
|
).parsed
|
|
158
177
|
|
|
@@ -161,6 +180,7 @@ async def asyncio_detailed(
|
|
|
161
180
|
graph_id: str,
|
|
162
181
|
*,
|
|
163
182
|
client: AuthenticatedClient,
|
|
183
|
+
token: Union[None, Unset, str] = UNSET,
|
|
164
184
|
authorization: Union[None, Unset, str] = UNSET,
|
|
165
185
|
) -> Response[
|
|
166
186
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
@@ -181,6 +201,7 @@ async def asyncio_detailed(
|
|
|
181
201
|
|
|
182
202
|
Args:
|
|
183
203
|
graph_id (str): The graph database to get schema for
|
|
204
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
184
205
|
authorization (Union[None, Unset, str]):
|
|
185
206
|
|
|
186
207
|
Raises:
|
|
@@ -193,6 +214,7 @@ async def asyncio_detailed(
|
|
|
193
214
|
|
|
194
215
|
kwargs = _get_kwargs(
|
|
195
216
|
graph_id=graph_id,
|
|
217
|
+
token=token,
|
|
196
218
|
authorization=authorization,
|
|
197
219
|
)
|
|
198
220
|
|
|
@@ -205,6 +227,7 @@ async def asyncio(
|
|
|
205
227
|
graph_id: str,
|
|
206
228
|
*,
|
|
207
229
|
client: AuthenticatedClient,
|
|
230
|
+
token: Union[None, Unset, str] = UNSET,
|
|
208
231
|
authorization: Union[None, Unset, str] = UNSET,
|
|
209
232
|
) -> Optional[
|
|
210
233
|
Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
|
|
@@ -225,6 +248,7 @@ async def asyncio(
|
|
|
225
248
|
|
|
226
249
|
Args:
|
|
227
250
|
graph_id (str): The graph database to get schema for
|
|
251
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
228
252
|
authorization (Union[None, Unset, str]):
|
|
229
253
|
|
|
230
254
|
Raises:
|
|
@@ -239,6 +263,7 @@ async def asyncio(
|
|
|
239
263
|
await asyncio_detailed(
|
|
240
264
|
graph_id=graph_id,
|
|
241
265
|
client=client,
|
|
266
|
+
token=token,
|
|
242
267
|
authorization=authorization,
|
|
243
268
|
)
|
|
244
269
|
).parsed
|
|
@@ -15,15 +15,28 @@ from ...types import UNSET, Response, Unset
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
graph_id: str,
|
|
17
17
|
*,
|
|
18
|
+
token: Union[None, Unset, str] = UNSET,
|
|
18
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
20
|
) -> dict[str, Any]:
|
|
20
21
|
headers: dict[str, Any] = {}
|
|
21
22
|
if not isinstance(authorization, Unset):
|
|
22
23
|
headers["authorization"] = authorization
|
|
23
24
|
|
|
25
|
+
params: dict[str, Any] = {}
|
|
26
|
+
|
|
27
|
+
json_token: Union[None, Unset, str]
|
|
28
|
+
if isinstance(token, Unset):
|
|
29
|
+
json_token = UNSET
|
|
30
|
+
else:
|
|
31
|
+
json_token = token
|
|
32
|
+
params["token"] = json_token
|
|
33
|
+
|
|
34
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
35
|
+
|
|
24
36
|
_kwargs: dict[str, Any] = {
|
|
25
37
|
"method": "get",
|
|
26
|
-
"url": f"/v1/{graph_id}/schema/extensions",
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/schema/extensions",
|
|
39
|
+
"params": params,
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
_kwargs["headers"] = headers
|
|
@@ -68,6 +81,7 @@ def sync_detailed(
|
|
|
68
81
|
graph_id: str,
|
|
69
82
|
*,
|
|
70
83
|
client: AuthenticatedClient,
|
|
84
|
+
token: Union[None, Unset, str] = UNSET,
|
|
71
85
|
authorization: Union[None, Unset, str] = UNSET,
|
|
72
86
|
) -> Response[
|
|
73
87
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
@@ -78,6 +92,7 @@ def sync_detailed(
|
|
|
78
92
|
|
|
79
93
|
Args:
|
|
80
94
|
graph_id (str): The graph ID to list extensions for
|
|
95
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
81
96
|
authorization (Union[None, Unset, str]):
|
|
82
97
|
|
|
83
98
|
Raises:
|
|
@@ -90,6 +105,7 @@ def sync_detailed(
|
|
|
90
105
|
|
|
91
106
|
kwargs = _get_kwargs(
|
|
92
107
|
graph_id=graph_id,
|
|
108
|
+
token=token,
|
|
93
109
|
authorization=authorization,
|
|
94
110
|
)
|
|
95
111
|
|
|
@@ -104,6 +120,7 @@ def sync(
|
|
|
104
120
|
graph_id: str,
|
|
105
121
|
*,
|
|
106
122
|
client: AuthenticatedClient,
|
|
123
|
+
token: Union[None, Unset, str] = UNSET,
|
|
107
124
|
authorization: Union[None, Unset, str] = UNSET,
|
|
108
125
|
) -> Optional[
|
|
109
126
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
@@ -114,6 +131,7 @@ def sync(
|
|
|
114
131
|
|
|
115
132
|
Args:
|
|
116
133
|
graph_id (str): The graph ID to list extensions for
|
|
134
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
117
135
|
authorization (Union[None, Unset, str]):
|
|
118
136
|
|
|
119
137
|
Raises:
|
|
@@ -127,6 +145,7 @@ def sync(
|
|
|
127
145
|
return sync_detailed(
|
|
128
146
|
graph_id=graph_id,
|
|
129
147
|
client=client,
|
|
148
|
+
token=token,
|
|
130
149
|
authorization=authorization,
|
|
131
150
|
).parsed
|
|
132
151
|
|
|
@@ -135,6 +154,7 @@ async def asyncio_detailed(
|
|
|
135
154
|
graph_id: str,
|
|
136
155
|
*,
|
|
137
156
|
client: AuthenticatedClient,
|
|
157
|
+
token: Union[None, Unset, str] = UNSET,
|
|
138
158
|
authorization: Union[None, Unset, str] = UNSET,
|
|
139
159
|
) -> Response[
|
|
140
160
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
@@ -145,6 +165,7 @@ async def asyncio_detailed(
|
|
|
145
165
|
|
|
146
166
|
Args:
|
|
147
167
|
graph_id (str): The graph ID to list extensions for
|
|
168
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
148
169
|
authorization (Union[None, Unset, str]):
|
|
149
170
|
|
|
150
171
|
Raises:
|
|
@@ -157,6 +178,7 @@ async def asyncio_detailed(
|
|
|
157
178
|
|
|
158
179
|
kwargs = _get_kwargs(
|
|
159
180
|
graph_id=graph_id,
|
|
181
|
+
token=token,
|
|
160
182
|
authorization=authorization,
|
|
161
183
|
)
|
|
162
184
|
|
|
@@ -169,6 +191,7 @@ async def asyncio(
|
|
|
169
191
|
graph_id: str,
|
|
170
192
|
*,
|
|
171
193
|
client: AuthenticatedClient,
|
|
194
|
+
token: Union[None, Unset, str] = UNSET,
|
|
172
195
|
authorization: Union[None, Unset, str] = UNSET,
|
|
173
196
|
) -> Optional[
|
|
174
197
|
Union[HTTPValidationError, ListSchemaExtensionsResponseListschemaextensions]
|
|
@@ -179,6 +202,7 @@ async def asyncio(
|
|
|
179
202
|
|
|
180
203
|
Args:
|
|
181
204
|
graph_id (str): The graph ID to list extensions for
|
|
205
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
182
206
|
authorization (Union[None, Unset, str]):
|
|
183
207
|
|
|
184
208
|
Raises:
|
|
@@ -193,6 +217,7 @@ async def asyncio(
|
|
|
193
217
|
await asyncio_detailed(
|
|
194
218
|
graph_id=graph_id,
|
|
195
219
|
client=client,
|
|
220
|
+
token=token,
|
|
196
221
|
authorization=authorization,
|
|
197
222
|
)
|
|
198
223
|
).parsed
|
|
@@ -15,15 +15,28 @@ def _get_kwargs(
|
|
|
15
15
|
graph_id: str,
|
|
16
16
|
*,
|
|
17
17
|
body: SchemaValidationRequest,
|
|
18
|
+
token: Union[None, Unset, str] = UNSET,
|
|
18
19
|
authorization: Union[None, Unset, str] = UNSET,
|
|
19
20
|
) -> dict[str, Any]:
|
|
20
21
|
headers: dict[str, Any] = {}
|
|
21
22
|
if not isinstance(authorization, Unset):
|
|
22
23
|
headers["authorization"] = authorization
|
|
23
24
|
|
|
25
|
+
params: dict[str, Any] = {}
|
|
26
|
+
|
|
27
|
+
json_token: Union[None, Unset, str]
|
|
28
|
+
if isinstance(token, Unset):
|
|
29
|
+
json_token = UNSET
|
|
30
|
+
else:
|
|
31
|
+
json_token = token
|
|
32
|
+
params["token"] = json_token
|
|
33
|
+
|
|
34
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
35
|
+
|
|
24
36
|
_kwargs: dict[str, Any] = {
|
|
25
37
|
"method": "post",
|
|
26
|
-
"url": f"/v1/{graph_id}/schema/validate",
|
|
38
|
+
"url": f"/v1/graphs/{graph_id}/schema/validate",
|
|
39
|
+
"params": params,
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
_kwargs["json"] = body.to_dict()
|
|
@@ -79,6 +92,7 @@ def sync_detailed(
|
|
|
79
92
|
*,
|
|
80
93
|
client: AuthenticatedClient,
|
|
81
94
|
body: SchemaValidationRequest,
|
|
95
|
+
token: Union[None, Unset, str] = UNSET,
|
|
82
96
|
authorization: Union[None, Unset, str] = UNSET,
|
|
83
97
|
) -> Response[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
84
98
|
"""Validate Schema
|
|
@@ -108,6 +122,7 @@ def sync_detailed(
|
|
|
108
122
|
|
|
109
123
|
Args:
|
|
110
124
|
graph_id (str): Graph database identifier
|
|
125
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
111
126
|
authorization (Union[None, Unset, str]):
|
|
112
127
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
113
128
|
|
|
@@ -122,6 +137,7 @@ def sync_detailed(
|
|
|
122
137
|
kwargs = _get_kwargs(
|
|
123
138
|
graph_id=graph_id,
|
|
124
139
|
body=body,
|
|
140
|
+
token=token,
|
|
125
141
|
authorization=authorization,
|
|
126
142
|
)
|
|
127
143
|
|
|
@@ -137,6 +153,7 @@ def sync(
|
|
|
137
153
|
*,
|
|
138
154
|
client: AuthenticatedClient,
|
|
139
155
|
body: SchemaValidationRequest,
|
|
156
|
+
token: Union[None, Unset, str] = UNSET,
|
|
140
157
|
authorization: Union[None, Unset, str] = UNSET,
|
|
141
158
|
) -> Optional[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
142
159
|
"""Validate Schema
|
|
@@ -166,6 +183,7 @@ def sync(
|
|
|
166
183
|
|
|
167
184
|
Args:
|
|
168
185
|
graph_id (str): Graph database identifier
|
|
186
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
169
187
|
authorization (Union[None, Unset, str]):
|
|
170
188
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
171
189
|
|
|
@@ -181,6 +199,7 @@ def sync(
|
|
|
181
199
|
graph_id=graph_id,
|
|
182
200
|
client=client,
|
|
183
201
|
body=body,
|
|
202
|
+
token=token,
|
|
184
203
|
authorization=authorization,
|
|
185
204
|
).parsed
|
|
186
205
|
|
|
@@ -190,6 +209,7 @@ async def asyncio_detailed(
|
|
|
190
209
|
*,
|
|
191
210
|
client: AuthenticatedClient,
|
|
192
211
|
body: SchemaValidationRequest,
|
|
212
|
+
token: Union[None, Unset, str] = UNSET,
|
|
193
213
|
authorization: Union[None, Unset, str] = UNSET,
|
|
194
214
|
) -> Response[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
195
215
|
"""Validate Schema
|
|
@@ -219,6 +239,7 @@ async def asyncio_detailed(
|
|
|
219
239
|
|
|
220
240
|
Args:
|
|
221
241
|
graph_id (str): Graph database identifier
|
|
242
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
222
243
|
authorization (Union[None, Unset, str]):
|
|
223
244
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
224
245
|
|
|
@@ -233,6 +254,7 @@ async def asyncio_detailed(
|
|
|
233
254
|
kwargs = _get_kwargs(
|
|
234
255
|
graph_id=graph_id,
|
|
235
256
|
body=body,
|
|
257
|
+
token=token,
|
|
236
258
|
authorization=authorization,
|
|
237
259
|
)
|
|
238
260
|
|
|
@@ -246,6 +268,7 @@ async def asyncio(
|
|
|
246
268
|
*,
|
|
247
269
|
client: AuthenticatedClient,
|
|
248
270
|
body: SchemaValidationRequest,
|
|
271
|
+
token: Union[None, Unset, str] = UNSET,
|
|
249
272
|
authorization: Union[None, Unset, str] = UNSET,
|
|
250
273
|
) -> Optional[Union[ErrorResponse, SchemaValidationResponse]]:
|
|
251
274
|
"""Validate Schema
|
|
@@ -275,6 +298,7 @@ async def asyncio(
|
|
|
275
298
|
|
|
276
299
|
Args:
|
|
277
300
|
graph_id (str): Graph database identifier
|
|
301
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
278
302
|
authorization (Union[None, Unset, str]):
|
|
279
303
|
body (SchemaValidationRequest): Request model for schema validation.
|
|
280
304
|
|
|
@@ -291,6 +315,7 @@ async def asyncio(
|
|
|
291
315
|
graph_id=graph_id,
|
|
292
316
|
client=client,
|
|
293
317
|
body=body,
|
|
318
|
+
token=token,
|
|
294
319
|
authorization=authorization,
|
|
295
320
|
)
|
|
296
321
|
).parsed
|