robosystems-client 0.1.17__py3-none-any.whl → 0.1.18__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 +25 -0
- robosystems_client/api/agent/batch_process_queries.py +25 -0
- robosystems_client/api/agent/execute_specific_agent.py +25 -0
- robosystems_client/api/agent/get_agent_metadata.py +25 -0
- robosystems_client/api/agent/list_agents.py +20 -0
- robosystems_client/api/agent/recommend_agent.py +25 -0
- robosystems_client/api/backup/create_backup.py +25 -0
- robosystems_client/api/backup/export_backup.py +25 -0
- robosystems_client/api/backup/get_backup_download_url.py +20 -0
- robosystems_client/api/backup/get_backup_stats.py +25 -0
- robosystems_client/api/backup/list_backups.py +20 -0
- robosystems_client/api/backup/restore_backup.py +25 -0
- robosystems_client/api/connections/create_connection.py +25 -0
- robosystems_client/api/connections/create_link_token.py +25 -0
- robosystems_client/api/connections/delete_connection.py +25 -0
- robosystems_client/api/connections/exchange_link_token.py +25 -0
- robosystems_client/api/connections/get_connection.py +25 -0
- robosystems_client/api/connections/get_connection_options.py +25 -0
- robosystems_client/api/connections/init_o_auth.py +25 -0
- robosystems_client/api/connections/list_connections.py +20 -0
- robosystems_client/api/connections/oauth_callback.py +25 -0
- robosystems_client/api/connections/sync_connection.py +25 -0
- robosystems_client/api/copy/copy_data_to_graph.py +25 -0
- robosystems_client/api/create/create_graph.py +25 -0
- robosystems_client/api/graph_analytics/get_graph_metrics.py +25 -0
- robosystems_client/api/graph_analytics/get_graph_usage_stats.py +20 -0
- robosystems_client/api/graph_billing/get_current_graph_bill.py +25 -0
- robosystems_client/api/graph_billing/get_graph_billing_history.py +20 -0
- robosystems_client/api/graph_billing/get_graph_monthly_bill.py +25 -0
- robosystems_client/api/graph_billing/get_graph_usage_details.py +20 -0
- robosystems_client/api/graph_credits/check_credit_balance.py +20 -0
- robosystems_client/api/graph_credits/check_storage_limits.py +25 -0
- robosystems_client/api/graph_credits/get_credit_summary.py +25 -0
- robosystems_client/api/graph_credits/get_storage_usage.py +20 -0
- robosystems_client/api/graph_credits/list_credit_transactions.py +20 -0
- robosystems_client/api/graph_health/get_database_health.py +25 -0
- robosystems_client/api/graph_info/get_database_info.py +25 -0
- robosystems_client/api/graph_limits/get_graph_limits.py +25 -0
- robosystems_client/api/mcp/call_mcp_tool.py +20 -0
- robosystems_client/api/mcp/list_mcp_tools.py +25 -0
- 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 +20 -0
- robosystems_client/api/schema/export_graph_schema.py +20 -0
- robosystems_client/api/schema/get_graph_schema_info.py +25 -0
- robosystems_client/api/schema/list_schema_extensions.py +25 -0
- robosystems_client/api/schema/validate_schema.py +25 -0
- robosystems_client/api/subgraphs/create_subgraph.py +25 -0
- robosystems_client/api/subgraphs/delete_subgraph.py +25 -0
- robosystems_client/api/subgraphs/get_subgraph_info.py +25 -0
- robosystems_client/api/subgraphs/get_subgraph_quota.py +25 -0
- robosystems_client/api/subgraphs/list_subgraphs.py +25 -0
- 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/get_user_graphs.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/select_user_graph.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-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/METADATA +1 -1
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/RECORD +92 -88
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/WHEEL +0 -0
- {robosystems_client-0.1.17.dist-info → robosystems_client-0.1.18.dist-info}/licenses/LICENSE +0 -0
|
@@ -17,6 +17,7 @@ def _get_kwargs(
|
|
|
17
17
|
body: MCPToolCall,
|
|
18
18
|
format_: Union[None, Unset, str] = UNSET,
|
|
19
19
|
test_mode: Union[Unset, bool] = False,
|
|
20
|
+
token: Union[None, Unset, str] = UNSET,
|
|
20
21
|
authorization: Union[None, Unset, str] = UNSET,
|
|
21
22
|
) -> dict[str, Any]:
|
|
22
23
|
headers: dict[str, Any] = {}
|
|
@@ -34,6 +35,13 @@ def _get_kwargs(
|
|
|
34
35
|
|
|
35
36
|
params["test_mode"] = test_mode
|
|
36
37
|
|
|
38
|
+
json_token: Union[None, Unset, str]
|
|
39
|
+
if isinstance(token, Unset):
|
|
40
|
+
json_token = UNSET
|
|
41
|
+
else:
|
|
42
|
+
json_token = token
|
|
43
|
+
params["token"] = json_token
|
|
44
|
+
|
|
37
45
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
38
46
|
|
|
39
47
|
_kwargs: dict[str, Any] = {
|
|
@@ -115,6 +123,7 @@ def sync_detailed(
|
|
|
115
123
|
body: MCPToolCall,
|
|
116
124
|
format_: Union[None, Unset, str] = UNSET,
|
|
117
125
|
test_mode: Union[Unset, bool] = False,
|
|
126
|
+
token: Union[None, Unset, str] = UNSET,
|
|
118
127
|
authorization: Union[None, Unset, str] = UNSET,
|
|
119
128
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
120
129
|
"""Execute MCP Tool
|
|
@@ -158,6 +167,7 @@ def sync_detailed(
|
|
|
158
167
|
graph_id (str): Graph database identifier
|
|
159
168
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
160
169
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
170
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
161
171
|
authorization (Union[None, Unset, str]):
|
|
162
172
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
163
173
|
|
|
@@ -174,6 +184,7 @@ def sync_detailed(
|
|
|
174
184
|
body=body,
|
|
175
185
|
format_=format_,
|
|
176
186
|
test_mode=test_mode,
|
|
187
|
+
token=token,
|
|
177
188
|
authorization=authorization,
|
|
178
189
|
)
|
|
179
190
|
|
|
@@ -191,6 +202,7 @@ def sync(
|
|
|
191
202
|
body: MCPToolCall,
|
|
192
203
|
format_: Union[None, Unset, str] = UNSET,
|
|
193
204
|
test_mode: Union[Unset, bool] = False,
|
|
205
|
+
token: Union[None, Unset, str] = UNSET,
|
|
194
206
|
authorization: Union[None, Unset, str] = UNSET,
|
|
195
207
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
196
208
|
"""Execute MCP Tool
|
|
@@ -234,6 +246,7 @@ def sync(
|
|
|
234
246
|
graph_id (str): Graph database identifier
|
|
235
247
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
236
248
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
249
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
237
250
|
authorization (Union[None, Unset, str]):
|
|
238
251
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
239
252
|
|
|
@@ -251,6 +264,7 @@ def sync(
|
|
|
251
264
|
body=body,
|
|
252
265
|
format_=format_,
|
|
253
266
|
test_mode=test_mode,
|
|
267
|
+
token=token,
|
|
254
268
|
authorization=authorization,
|
|
255
269
|
).parsed
|
|
256
270
|
|
|
@@ -262,6 +276,7 @@ async def asyncio_detailed(
|
|
|
262
276
|
body: MCPToolCall,
|
|
263
277
|
format_: Union[None, Unset, str] = UNSET,
|
|
264
278
|
test_mode: Union[Unset, bool] = False,
|
|
279
|
+
token: Union[None, Unset, str] = UNSET,
|
|
265
280
|
authorization: Union[None, Unset, str] = UNSET,
|
|
266
281
|
) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
267
282
|
"""Execute MCP Tool
|
|
@@ -305,6 +320,7 @@ async def asyncio_detailed(
|
|
|
305
320
|
graph_id (str): Graph database identifier
|
|
306
321
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
307
322
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
323
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
308
324
|
authorization (Union[None, Unset, str]):
|
|
309
325
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
310
326
|
|
|
@@ -321,6 +337,7 @@ async def asyncio_detailed(
|
|
|
321
337
|
body=body,
|
|
322
338
|
format_=format_,
|
|
323
339
|
test_mode=test_mode,
|
|
340
|
+
token=token,
|
|
324
341
|
authorization=authorization,
|
|
325
342
|
)
|
|
326
343
|
|
|
@@ -336,6 +353,7 @@ async def asyncio(
|
|
|
336
353
|
body: MCPToolCall,
|
|
337
354
|
format_: Union[None, Unset, str] = UNSET,
|
|
338
355
|
test_mode: Union[Unset, bool] = False,
|
|
356
|
+
token: Union[None, Unset, str] = UNSET,
|
|
339
357
|
authorization: Union[None, Unset, str] = UNSET,
|
|
340
358
|
) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
|
|
341
359
|
"""Execute MCP Tool
|
|
@@ -379,6 +397,7 @@ async def asyncio(
|
|
|
379
397
|
graph_id (str): Graph database identifier
|
|
380
398
|
format_ (Union[None, Unset, str]): Response format override (json, sse, ndjson)
|
|
381
399
|
test_mode (Union[Unset, bool]): Enable test mode for debugging Default: False.
|
|
400
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
382
401
|
authorization (Union[None, Unset, str]):
|
|
383
402
|
body (MCPToolCall): Request model for MCP tool execution.
|
|
384
403
|
|
|
@@ -397,6 +416,7 @@ async def asyncio(
|
|
|
397
416
|
body=body,
|
|
398
417
|
format_=format_,
|
|
399
418
|
test_mode=test_mode,
|
|
419
|
+
token=token,
|
|
400
420
|
authorization=authorization,
|
|
401
421
|
)
|
|
402
422
|
).parsed
|
|
@@ -14,15 +14,28 @@ from ...types import UNSET, Response, Unset
|
|
|
14
14
|
def _get_kwargs(
|
|
15
15
|
graph_id: str,
|
|
16
16
|
*,
|
|
17
|
+
token: Union[None, Unset, str] = UNSET,
|
|
17
18
|
authorization: Union[None, Unset, str] = UNSET,
|
|
18
19
|
) -> dict[str, Any]:
|
|
19
20
|
headers: dict[str, Any] = {}
|
|
20
21
|
if not isinstance(authorization, Unset):
|
|
21
22
|
headers["authorization"] = authorization
|
|
22
23
|
|
|
24
|
+
params: dict[str, Any] = {}
|
|
25
|
+
|
|
26
|
+
json_token: Union[None, Unset, str]
|
|
27
|
+
if isinstance(token, Unset):
|
|
28
|
+
json_token = UNSET
|
|
29
|
+
else:
|
|
30
|
+
json_token = token
|
|
31
|
+
params["token"] = json_token
|
|
32
|
+
|
|
33
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
34
|
+
|
|
23
35
|
_kwargs: dict[str, Any] = {
|
|
24
36
|
"method": "get",
|
|
25
37
|
"url": f"/v1/{graph_id}/mcp/tools",
|
|
38
|
+
"params": params,
|
|
26
39
|
}
|
|
27
40
|
|
|
28
41
|
_kwargs["headers"] = headers
|
|
@@ -69,6 +82,7 @@ def sync_detailed(
|
|
|
69
82
|
graph_id: str,
|
|
70
83
|
*,
|
|
71
84
|
client: AuthenticatedClient,
|
|
85
|
+
token: Union[None, Unset, str] = UNSET,
|
|
72
86
|
authorization: Union[None, Unset, str] = UNSET,
|
|
73
87
|
) -> Response[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
74
88
|
"""List MCP Tools
|
|
@@ -91,6 +105,7 @@ def sync_detailed(
|
|
|
91
105
|
|
|
92
106
|
Args:
|
|
93
107
|
graph_id (str): Graph database identifier
|
|
108
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
94
109
|
authorization (Union[None, Unset, str]):
|
|
95
110
|
|
|
96
111
|
Raises:
|
|
@@ -103,6 +118,7 @@ def sync_detailed(
|
|
|
103
118
|
|
|
104
119
|
kwargs = _get_kwargs(
|
|
105
120
|
graph_id=graph_id,
|
|
121
|
+
token=token,
|
|
106
122
|
authorization=authorization,
|
|
107
123
|
)
|
|
108
124
|
|
|
@@ -117,6 +133,7 @@ def sync(
|
|
|
117
133
|
graph_id: str,
|
|
118
134
|
*,
|
|
119
135
|
client: AuthenticatedClient,
|
|
136
|
+
token: Union[None, Unset, str] = UNSET,
|
|
120
137
|
authorization: Union[None, Unset, str] = UNSET,
|
|
121
138
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
122
139
|
"""List MCP Tools
|
|
@@ -139,6 +156,7 @@ def sync(
|
|
|
139
156
|
|
|
140
157
|
Args:
|
|
141
158
|
graph_id (str): Graph database identifier
|
|
159
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
142
160
|
authorization (Union[None, Unset, str]):
|
|
143
161
|
|
|
144
162
|
Raises:
|
|
@@ -152,6 +170,7 @@ def sync(
|
|
|
152
170
|
return sync_detailed(
|
|
153
171
|
graph_id=graph_id,
|
|
154
172
|
client=client,
|
|
173
|
+
token=token,
|
|
155
174
|
authorization=authorization,
|
|
156
175
|
).parsed
|
|
157
176
|
|
|
@@ -160,6 +179,7 @@ async def asyncio_detailed(
|
|
|
160
179
|
graph_id: str,
|
|
161
180
|
*,
|
|
162
181
|
client: AuthenticatedClient,
|
|
182
|
+
token: Union[None, Unset, str] = UNSET,
|
|
163
183
|
authorization: Union[None, Unset, str] = UNSET,
|
|
164
184
|
) -> Response[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
165
185
|
"""List MCP Tools
|
|
@@ -182,6 +202,7 @@ async def asyncio_detailed(
|
|
|
182
202
|
|
|
183
203
|
Args:
|
|
184
204
|
graph_id (str): Graph database identifier
|
|
205
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
185
206
|
authorization (Union[None, Unset, str]):
|
|
186
207
|
|
|
187
208
|
Raises:
|
|
@@ -194,6 +215,7 @@ async def asyncio_detailed(
|
|
|
194
215
|
|
|
195
216
|
kwargs = _get_kwargs(
|
|
196
217
|
graph_id=graph_id,
|
|
218
|
+
token=token,
|
|
197
219
|
authorization=authorization,
|
|
198
220
|
)
|
|
199
221
|
|
|
@@ -206,6 +228,7 @@ async def asyncio(
|
|
|
206
228
|
graph_id: str,
|
|
207
229
|
*,
|
|
208
230
|
client: AuthenticatedClient,
|
|
231
|
+
token: Union[None, Unset, str] = UNSET,
|
|
209
232
|
authorization: Union[None, Unset, str] = UNSET,
|
|
210
233
|
) -> Optional[Union[ErrorResponse, HTTPValidationError, MCPToolsResponse]]:
|
|
211
234
|
"""List MCP Tools
|
|
@@ -228,6 +251,7 @@ async def asyncio(
|
|
|
228
251
|
|
|
229
252
|
Args:
|
|
230
253
|
graph_id (str): Graph database identifier
|
|
254
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
231
255
|
authorization (Union[None, Unset, str]):
|
|
232
256
|
|
|
233
257
|
Raises:
|
|
@@ -242,6 +266,7 @@ async def asyncio(
|
|
|
242
266
|
await asyncio_detailed(
|
|
243
267
|
graph_id=graph_id,
|
|
244
268
|
client=client,
|
|
269
|
+
token=token,
|
|
245
270
|
authorization=authorization,
|
|
246
271
|
)
|
|
247
272
|
).parsed
|
|
@@ -15,15 +15,28 @@ from ...types import UNSET, Response, Unset
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
operation_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": "delete",
|
|
26
38
|
"url": f"/v1/operations/{operation_id}",
|
|
39
|
+
"params": params,
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
_kwargs["headers"] = headers
|
|
@@ -74,6 +87,7 @@ def sync_detailed(
|
|
|
74
87
|
operation_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[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
79
93
|
"""Cancel Operation
|
|
@@ -90,6 +104,7 @@ def sync_detailed(
|
|
|
90
104
|
|
|
91
105
|
Args:
|
|
92
106
|
operation_id (str): Operation identifier
|
|
107
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
93
108
|
authorization (Union[None, Unset, str]):
|
|
94
109
|
|
|
95
110
|
Raises:
|
|
@@ -102,6 +117,7 @@ def sync_detailed(
|
|
|
102
117
|
|
|
103
118
|
kwargs = _get_kwargs(
|
|
104
119
|
operation_id=operation_id,
|
|
120
|
+
token=token,
|
|
105
121
|
authorization=authorization,
|
|
106
122
|
)
|
|
107
123
|
|
|
@@ -116,6 +132,7 @@ def sync(
|
|
|
116
132
|
operation_id: str,
|
|
117
133
|
*,
|
|
118
134
|
client: AuthenticatedClient,
|
|
135
|
+
token: Union[None, Unset, str] = UNSET,
|
|
119
136
|
authorization: Union[None, Unset, str] = UNSET,
|
|
120
137
|
) -> Optional[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
121
138
|
"""Cancel Operation
|
|
@@ -132,6 +149,7 @@ def sync(
|
|
|
132
149
|
|
|
133
150
|
Args:
|
|
134
151
|
operation_id (str): Operation identifier
|
|
152
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
135
153
|
authorization (Union[None, Unset, str]):
|
|
136
154
|
|
|
137
155
|
Raises:
|
|
@@ -145,6 +163,7 @@ def sync(
|
|
|
145
163
|
return sync_detailed(
|
|
146
164
|
operation_id=operation_id,
|
|
147
165
|
client=client,
|
|
166
|
+
token=token,
|
|
148
167
|
authorization=authorization,
|
|
149
168
|
).parsed
|
|
150
169
|
|
|
@@ -153,6 +172,7 @@ async def asyncio_detailed(
|
|
|
153
172
|
operation_id: str,
|
|
154
173
|
*,
|
|
155
174
|
client: AuthenticatedClient,
|
|
175
|
+
token: Union[None, Unset, str] = UNSET,
|
|
156
176
|
authorization: Union[None, Unset, str] = UNSET,
|
|
157
177
|
) -> Response[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
158
178
|
"""Cancel Operation
|
|
@@ -169,6 +189,7 @@ async def asyncio_detailed(
|
|
|
169
189
|
|
|
170
190
|
Args:
|
|
171
191
|
operation_id (str): Operation identifier
|
|
192
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
172
193
|
authorization (Union[None, Unset, str]):
|
|
173
194
|
|
|
174
195
|
Raises:
|
|
@@ -181,6 +202,7 @@ async def asyncio_detailed(
|
|
|
181
202
|
|
|
182
203
|
kwargs = _get_kwargs(
|
|
183
204
|
operation_id=operation_id,
|
|
205
|
+
token=token,
|
|
184
206
|
authorization=authorization,
|
|
185
207
|
)
|
|
186
208
|
|
|
@@ -193,6 +215,7 @@ async def asyncio(
|
|
|
193
215
|
operation_id: str,
|
|
194
216
|
*,
|
|
195
217
|
client: AuthenticatedClient,
|
|
218
|
+
token: Union[None, Unset, str] = UNSET,
|
|
196
219
|
authorization: Union[None, Unset, str] = UNSET,
|
|
197
220
|
) -> Optional[Union[Any, CancelOperationResponseCanceloperation, HTTPValidationError]]:
|
|
198
221
|
"""Cancel Operation
|
|
@@ -209,6 +232,7 @@ async def asyncio(
|
|
|
209
232
|
|
|
210
233
|
Args:
|
|
211
234
|
operation_id (str): Operation identifier
|
|
235
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
212
236
|
authorization (Union[None, Unset, str]):
|
|
213
237
|
|
|
214
238
|
Raises:
|
|
@@ -223,6 +247,7 @@ async def asyncio(
|
|
|
223
247
|
await asyncio_detailed(
|
|
224
248
|
operation_id=operation_id,
|
|
225
249
|
client=client,
|
|
250
|
+
token=token,
|
|
226
251
|
authorization=authorization,
|
|
227
252
|
)
|
|
228
253
|
).parsed
|
|
@@ -15,15 +15,28 @@ from ...types import UNSET, Response, Unset
|
|
|
15
15
|
def _get_kwargs(
|
|
16
16
|
operation_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
38
|
"url": f"/v1/operations/{operation_id}/status",
|
|
39
|
+
"params": params,
|
|
27
40
|
}
|
|
28
41
|
|
|
29
42
|
_kwargs["headers"] = headers
|
|
@@ -77,6 +90,7 @@ def sync_detailed(
|
|
|
77
90
|
operation_id: str,
|
|
78
91
|
*,
|
|
79
92
|
client: AuthenticatedClient,
|
|
93
|
+
token: Union[None, Unset, str] = UNSET,
|
|
80
94
|
authorization: Union[None, Unset, str] = UNSET,
|
|
81
95
|
) -> Response[
|
|
82
96
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
@@ -99,6 +113,7 @@ def sync_detailed(
|
|
|
99
113
|
|
|
100
114
|
Args:
|
|
101
115
|
operation_id (str): Operation identifier
|
|
116
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
102
117
|
authorization (Union[None, Unset, str]):
|
|
103
118
|
|
|
104
119
|
Raises:
|
|
@@ -111,6 +126,7 @@ def sync_detailed(
|
|
|
111
126
|
|
|
112
127
|
kwargs = _get_kwargs(
|
|
113
128
|
operation_id=operation_id,
|
|
129
|
+
token=token,
|
|
114
130
|
authorization=authorization,
|
|
115
131
|
)
|
|
116
132
|
|
|
@@ -125,6 +141,7 @@ def sync(
|
|
|
125
141
|
operation_id: str,
|
|
126
142
|
*,
|
|
127
143
|
client: AuthenticatedClient,
|
|
144
|
+
token: Union[None, Unset, str] = UNSET,
|
|
128
145
|
authorization: Union[None, Unset, str] = UNSET,
|
|
129
146
|
) -> Optional[
|
|
130
147
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
@@ -147,6 +164,7 @@ def sync(
|
|
|
147
164
|
|
|
148
165
|
Args:
|
|
149
166
|
operation_id (str): Operation identifier
|
|
167
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
150
168
|
authorization (Union[None, Unset, str]):
|
|
151
169
|
|
|
152
170
|
Raises:
|
|
@@ -160,6 +178,7 @@ def sync(
|
|
|
160
178
|
return sync_detailed(
|
|
161
179
|
operation_id=operation_id,
|
|
162
180
|
client=client,
|
|
181
|
+
token=token,
|
|
163
182
|
authorization=authorization,
|
|
164
183
|
).parsed
|
|
165
184
|
|
|
@@ -168,6 +187,7 @@ async def asyncio_detailed(
|
|
|
168
187
|
operation_id: str,
|
|
169
188
|
*,
|
|
170
189
|
client: AuthenticatedClient,
|
|
190
|
+
token: Union[None, Unset, str] = UNSET,
|
|
171
191
|
authorization: Union[None, Unset, str] = UNSET,
|
|
172
192
|
) -> Response[
|
|
173
193
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
@@ -190,6 +210,7 @@ async def asyncio_detailed(
|
|
|
190
210
|
|
|
191
211
|
Args:
|
|
192
212
|
operation_id (str): Operation identifier
|
|
213
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
193
214
|
authorization (Union[None, Unset, str]):
|
|
194
215
|
|
|
195
216
|
Raises:
|
|
@@ -202,6 +223,7 @@ async def asyncio_detailed(
|
|
|
202
223
|
|
|
203
224
|
kwargs = _get_kwargs(
|
|
204
225
|
operation_id=operation_id,
|
|
226
|
+
token=token,
|
|
205
227
|
authorization=authorization,
|
|
206
228
|
)
|
|
207
229
|
|
|
@@ -214,6 +236,7 @@ async def asyncio(
|
|
|
214
236
|
operation_id: str,
|
|
215
237
|
*,
|
|
216
238
|
client: AuthenticatedClient,
|
|
239
|
+
token: Union[None, Unset, str] = UNSET,
|
|
217
240
|
authorization: Union[None, Unset, str] = UNSET,
|
|
218
241
|
) -> Optional[
|
|
219
242
|
Union[Any, GetOperationStatusResponseGetoperationstatus, HTTPValidationError]
|
|
@@ -236,6 +259,7 @@ async def asyncio(
|
|
|
236
259
|
|
|
237
260
|
Args:
|
|
238
261
|
operation_id (str): Operation identifier
|
|
262
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
239
263
|
authorization (Union[None, Unset, str]):
|
|
240
264
|
|
|
241
265
|
Raises:
|
|
@@ -250,6 +274,7 @@ async def asyncio(
|
|
|
250
274
|
await asyncio_detailed(
|
|
251
275
|
operation_id=operation_id,
|
|
252
276
|
client=client,
|
|
277
|
+
token=token,
|
|
253
278
|
authorization=authorization,
|
|
254
279
|
)
|
|
255
280
|
).parsed
|
|
@@ -13,6 +13,7 @@ def _get_kwargs(
|
|
|
13
13
|
operation_id: str,
|
|
14
14
|
*,
|
|
15
15
|
from_sequence: Union[Unset, int] = 0,
|
|
16
|
+
token: Union[None, Unset, str] = UNSET,
|
|
16
17
|
authorization: Union[None, Unset, str] = UNSET,
|
|
17
18
|
) -> dict[str, Any]:
|
|
18
19
|
headers: dict[str, Any] = {}
|
|
@@ -23,6 +24,13 @@ def _get_kwargs(
|
|
|
23
24
|
|
|
24
25
|
params["from_sequence"] = from_sequence
|
|
25
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
|
+
|
|
26
34
|
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
27
35
|
|
|
28
36
|
_kwargs: dict[str, Any] = {
|
|
@@ -76,6 +84,7 @@ def sync_detailed(
|
|
|
76
84
|
*,
|
|
77
85
|
client: AuthenticatedClient,
|
|
78
86
|
from_sequence: Union[Unset, int] = 0,
|
|
87
|
+
token: Union[None, Unset, str] = UNSET,
|
|
79
88
|
authorization: Union[None, Unset, str] = UNSET,
|
|
80
89
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
81
90
|
"""Stream Operation Events
|
|
@@ -132,6 +141,7 @@ def sync_detailed(
|
|
|
132
141
|
operation_id (str): Operation identifier from initial submission
|
|
133
142
|
from_sequence (Union[Unset, int]): Start streaming from this sequence number (0 = from
|
|
134
143
|
beginning) Default: 0.
|
|
144
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
135
145
|
authorization (Union[None, Unset, str]):
|
|
136
146
|
|
|
137
147
|
Raises:
|
|
@@ -145,6 +155,7 @@ def sync_detailed(
|
|
|
145
155
|
kwargs = _get_kwargs(
|
|
146
156
|
operation_id=operation_id,
|
|
147
157
|
from_sequence=from_sequence,
|
|
158
|
+
token=token,
|
|
148
159
|
authorization=authorization,
|
|
149
160
|
)
|
|
150
161
|
|
|
@@ -160,6 +171,7 @@ def sync(
|
|
|
160
171
|
*,
|
|
161
172
|
client: AuthenticatedClient,
|
|
162
173
|
from_sequence: Union[Unset, int] = 0,
|
|
174
|
+
token: Union[None, Unset, str] = UNSET,
|
|
163
175
|
authorization: Union[None, Unset, str] = UNSET,
|
|
164
176
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
165
177
|
"""Stream Operation Events
|
|
@@ -216,6 +228,7 @@ def sync(
|
|
|
216
228
|
operation_id (str): Operation identifier from initial submission
|
|
217
229
|
from_sequence (Union[Unset, int]): Start streaming from this sequence number (0 = from
|
|
218
230
|
beginning) Default: 0.
|
|
231
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
219
232
|
authorization (Union[None, Unset, str]):
|
|
220
233
|
|
|
221
234
|
Raises:
|
|
@@ -230,6 +243,7 @@ def sync(
|
|
|
230
243
|
operation_id=operation_id,
|
|
231
244
|
client=client,
|
|
232
245
|
from_sequence=from_sequence,
|
|
246
|
+
token=token,
|
|
233
247
|
authorization=authorization,
|
|
234
248
|
).parsed
|
|
235
249
|
|
|
@@ -239,6 +253,7 @@ async def asyncio_detailed(
|
|
|
239
253
|
*,
|
|
240
254
|
client: AuthenticatedClient,
|
|
241
255
|
from_sequence: Union[Unset, int] = 0,
|
|
256
|
+
token: Union[None, Unset, str] = UNSET,
|
|
242
257
|
authorization: Union[None, Unset, str] = UNSET,
|
|
243
258
|
) -> Response[Union[Any, HTTPValidationError]]:
|
|
244
259
|
"""Stream Operation Events
|
|
@@ -295,6 +310,7 @@ async def asyncio_detailed(
|
|
|
295
310
|
operation_id (str): Operation identifier from initial submission
|
|
296
311
|
from_sequence (Union[Unset, int]): Start streaming from this sequence number (0 = from
|
|
297
312
|
beginning) Default: 0.
|
|
313
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
298
314
|
authorization (Union[None, Unset, str]):
|
|
299
315
|
|
|
300
316
|
Raises:
|
|
@@ -308,6 +324,7 @@ async def asyncio_detailed(
|
|
|
308
324
|
kwargs = _get_kwargs(
|
|
309
325
|
operation_id=operation_id,
|
|
310
326
|
from_sequence=from_sequence,
|
|
327
|
+
token=token,
|
|
311
328
|
authorization=authorization,
|
|
312
329
|
)
|
|
313
330
|
|
|
@@ -321,6 +338,7 @@ async def asyncio(
|
|
|
321
338
|
*,
|
|
322
339
|
client: AuthenticatedClient,
|
|
323
340
|
from_sequence: Union[Unset, int] = 0,
|
|
341
|
+
token: Union[None, Unset, str] = UNSET,
|
|
324
342
|
authorization: Union[None, Unset, str] = UNSET,
|
|
325
343
|
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
326
344
|
"""Stream Operation Events
|
|
@@ -377,6 +395,7 @@ async def asyncio(
|
|
|
377
395
|
operation_id (str): Operation identifier from initial submission
|
|
378
396
|
from_sequence (Union[Unset, int]): Start streaming from this sequence number (0 = from
|
|
379
397
|
beginning) Default: 0.
|
|
398
|
+
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
380
399
|
authorization (Union[None, Unset, str]):
|
|
381
400
|
|
|
382
401
|
Raises:
|
|
@@ -392,6 +411,7 @@ async def asyncio(
|
|
|
392
411
|
operation_id=operation_id,
|
|
393
412
|
client=client,
|
|
394
413
|
from_sequence=from_sequence,
|
|
414
|
+
token=token,
|
|
395
415
|
authorization=authorization,
|
|
396
416
|
)
|
|
397
417
|
).parsed
|
|
@@ -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,6 +40,13 @@ 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] = {
|
|
@@ -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
|