robosystems-client 0.1.18__py3-none-any.whl → 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of robosystems-client might be problematic. Click here for more details.

Files changed (145) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +10 -4
  2. robosystems_client/api/agent/batch_process_queries.py +9 -4
  3. robosystems_client/api/agent/execute_specific_agent.py +11 -4
  4. robosystems_client/api/agent/get_agent_metadata.py +4 -1
  5. robosystems_client/api/agent/list_agents.py +4 -1
  6. robosystems_client/api/agent/recommend_agent.py +4 -1
  7. robosystems_client/api/auth/check_password_strength.py +2 -0
  8. robosystems_client/api/auth/complete_sso_auth.py +3 -0
  9. robosystems_client/api/auth/forgot_password.py +6 -3
  10. robosystems_client/api/auth/generate_sso_token.py +3 -0
  11. robosystems_client/api/auth/get_captcha_config.py +1 -0
  12. robosystems_client/api/auth/get_current_auth_user.py +3 -0
  13. robosystems_client/api/auth/get_password_policy.py +1 -0
  14. robosystems_client/api/auth/login_user.py +7 -3
  15. robosystems_client/api/auth/logout_user.py +2 -0
  16. robosystems_client/api/auth/refresh_auth_session.py +3 -0
  17. robosystems_client/api/auth/register_user.py +11 -6
  18. robosystems_client/api/auth/resend_verification_email.py +8 -3
  19. robosystems_client/api/auth/reset_password.py +3 -0
  20. robosystems_client/api/auth/sso_token_exchange.py +7 -3
  21. robosystems_client/api/auth/validate_reset_token.py +2 -0
  22. robosystems_client/api/auth/verify_email.py +3 -0
  23. robosystems_client/api/backup/create_backup.py +14 -8
  24. robosystems_client/api/backup/get_backup_download_url.py +9 -4
  25. robosystems_client/api/backup/get_backup_stats.py +3 -1
  26. robosystems_client/api/backup/list_backups.py +7 -5
  27. robosystems_client/api/backup/restore_backup.py +27 -8
  28. robosystems_client/api/connections/create_connection.py +14 -8
  29. robosystems_client/api/connections/create_link_token.py +9 -4
  30. robosystems_client/api/connections/delete_connection.py +13 -8
  31. robosystems_client/api/connections/exchange_link_token.py +9 -4
  32. robosystems_client/api/connections/get_connection.py +9 -4
  33. robosystems_client/api/connections/get_connection_options.py +8 -4
  34. robosystems_client/api/connections/init_o_auth.py +3 -1
  35. robosystems_client/api/connections/list_connections.py +8 -4
  36. robosystems_client/api/connections/oauth_callback.py +10 -4
  37. robosystems_client/api/connections/sync_connection.py +13 -8
  38. robosystems_client/api/graph_analytics/get_graph_metrics.py +13 -8
  39. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +12 -8
  40. robosystems_client/api/graph_billing/get_current_graph_bill.py +9 -4
  41. robosystems_client/api/graph_billing/get_graph_billing_history.py +9 -4
  42. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +10 -4
  43. robosystems_client/api/graph_billing/get_graph_usage_details.py +10 -4
  44. robosystems_client/api/graph_credits/check_credit_balance.py +9 -4
  45. robosystems_client/api/graph_credits/check_storage_limits.py +9 -4
  46. robosystems_client/api/graph_credits/get_credit_summary.py +9 -4
  47. robosystems_client/api/graph_credits/get_storage_usage.py +8 -4
  48. robosystems_client/api/graph_credits/list_credit_transactions.py +9 -4
  49. robosystems_client/api/graph_health/get_database_health.py +9 -4
  50. robosystems_client/api/graph_info/get_database_info.py +9 -4
  51. robosystems_client/api/graph_limits/get_graph_limits.py +9 -4
  52. robosystems_client/api/{create → graphs}/create_graph.py +7 -5
  53. robosystems_client/api/{create → graphs}/get_available_extensions.py +2 -1
  54. robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +3 -1
  55. robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +13 -8
  56. robosystems_client/api/mcp/call_mcp_tool.py +18 -8
  57. robosystems_client/api/mcp/list_mcp_tools.py +12 -8
  58. robosystems_client/api/operations/cancel_operation.py +9 -3
  59. robosystems_client/api/operations/get_operation_status.py +8 -3
  60. robosystems_client/api/operations/stream_operation_events.py +8 -3
  61. robosystems_client/api/query/execute_cypher_query.py +49 -16
  62. robosystems_client/api/schema/export_graph_schema.py +3 -1
  63. robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
  64. robosystems_client/api/schema/validate_schema.py +10 -5
  65. robosystems_client/api/service_offerings/get_service_offerings.py +2 -0
  66. robosystems_client/api/status/get_service_status.py +1 -0
  67. robosystems_client/api/subgraphs/create_subgraph.py +3 -1
  68. robosystems_client/api/subgraphs/delete_subgraph.py +15 -7
  69. robosystems_client/api/subgraphs/get_subgraph_info.py +14 -7
  70. robosystems_client/api/subgraphs/get_subgraph_quota.py +10 -4
  71. robosystems_client/api/subgraphs/list_subgraphs.py +3 -1
  72. robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +287 -0
  73. robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +283 -0
  74. robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +260 -0
  75. robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +251 -0
  76. robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +283 -0
  77. robosystems_client/api/{backup/export_backup.py → tables/list_tables_v1_graphs_graph_id_tables_get.py} +36 -36
  78. robosystems_client/api/{schema/list_schema_extensions.py → tables/query_tables_v1_graphs_graph_id_tables_query_post.py} +67 -43
  79. robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +306 -0
  80. robosystems_client/api/user/create_user_api_key.py +2 -0
  81. robosystems_client/api/user/get_all_credit_summaries.py +6 -3
  82. robosystems_client/api/user/get_current_user.py +2 -0
  83. robosystems_client/api/user/list_user_api_keys.py +2 -0
  84. robosystems_client/api/user/revoke_user_api_key.py +7 -3
  85. robosystems_client/api/user/update_user.py +2 -0
  86. robosystems_client/api/user/update_user_api_key.py +2 -0
  87. robosystems_client/api/user/update_user_password.py +8 -3
  88. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +2 -0
  89. robosystems_client/api/user_analytics/get_user_usage_overview.py +2 -0
  90. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +2 -0
  91. robosystems_client/api/user_limits/get_shared_repository_limits.py +6 -4
  92. robosystems_client/api/user_limits/get_user_limits.py +3 -0
  93. robosystems_client/api/user_limits/get_user_usage.py +2 -0
  94. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +11 -6
  95. robosystems_client/api/user_subscriptions/get_repository_credits.py +7 -3
  96. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +7 -3
  97. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +7 -3
  98. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +8 -3
  99. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +12 -6
  100. robosystems_client/extensions/README.md +1 -212
  101. robosystems_client/extensions/__init__.py +12 -28
  102. robosystems_client/extensions/extensions.py +3 -17
  103. robosystems_client/extensions/operation_client.py +12 -4
  104. robosystems_client/extensions/query_client.py +38 -24
  105. robosystems_client/extensions/sse_client.py +11 -0
  106. robosystems_client/extensions/table_ingest_client.py +466 -0
  107. robosystems_client/models/__init__.py +39 -31
  108. robosystems_client/models/api_key_info.py +20 -0
  109. robosystems_client/models/backup_restore_request.py +1 -12
  110. robosystems_client/models/bulk_ingest_request.py +50 -0
  111. robosystems_client/models/bulk_ingest_response.py +137 -0
  112. robosystems_client/models/create_api_key_request.py +20 -0
  113. robosystems_client/models/create_graph_request.py +4 -3
  114. robosystems_client/models/{sso_login_request.py → delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py} +9 -22
  115. robosystems_client/models/file_update_request.py +62 -0
  116. robosystems_client/models/file_upload_request.py +51 -0
  117. robosystems_client/models/file_upload_response.py +83 -0
  118. robosystems_client/models/{get_graph_schema_info_response_getgraphschemainfo.py → get_file_info_v1_graphs_graph_id_tables_files_file_id_get_response_get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py} +8 -5
  119. robosystems_client/models/{copy_response_error_details_type_0.py → get_graph_schema_response_getgraphschema.py} +5 -5
  120. robosystems_client/models/list_table_files_v1_graphs_graph_id_tables_table_name_files_get_response_list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +47 -0
  121. robosystems_client/models/table_info.py +107 -0
  122. robosystems_client/models/table_ingest_result.py +107 -0
  123. robosystems_client/models/table_list_response.py +81 -0
  124. robosystems_client/models/table_query_request.py +40 -0
  125. robosystems_client/models/table_query_response.py +92 -0
  126. robosystems_client/models/{list_schema_extensions_response_listschemaextensions.py → update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py} +8 -5
  127. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/METADATA +15 -3
  128. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/RECORD +132 -127
  129. robosystems_client/api/auth/sso_login.py +0 -177
  130. robosystems_client/api/copy/copy_data_to_graph.py +0 -486
  131. robosystems_client/extensions/copy_client.py +0 -479
  132. robosystems_client/models/copy_response.py +0 -275
  133. robosystems_client/models/copy_response_status.py +0 -11
  134. robosystems_client/models/data_frame_copy_request.py +0 -125
  135. robosystems_client/models/data_frame_copy_request_format.py +0 -10
  136. robosystems_client/models/s3_copy_request.py +0 -378
  137. robosystems_client/models/s3_copy_request_file_format.py +0 -12
  138. robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +0 -9
  139. robosystems_client/models/url_copy_request.py +0 -157
  140. robosystems_client/models/url_copy_request_file_format.py +0 -10
  141. robosystems_client/models/url_copy_request_headers_type_0.py +0 -44
  142. /robosystems_client/api/{copy → graphs}/__init__.py +0 -0
  143. /robosystems_client/api/{create → tables}/__init__.py +0 -0
  144. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/WHEEL +0 -0
  145. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -5,8 +5,8 @@ import httpx
5
5
 
6
6
  from ... import errors
7
7
  from ...client import AuthenticatedClient, Client
8
- from ...models.get_graph_schema_info_response_getgraphschemainfo import (
9
- GetGraphSchemaInfoResponseGetgraphschemainfo,
8
+ from ...models.get_graph_schema_response_getgraphschema import (
9
+ GetGraphSchemaResponseGetgraphschema,
10
10
  )
11
11
  from ...models.http_validation_error import HTTPValidationError
12
12
  from ...types import UNSET, Response, Unset
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "get",
38
- "url": f"/v1/{graph_id}/schema/info",
38
+ "url": f"/v1/graphs/{graph_id}/schema",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -45,25 +45,25 @@ def _get_kwargs(
45
45
 
46
46
  def _parse_response(
47
47
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
48
- ) -> Optional[
49
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
50
- ]:
48
+ ) -> Optional[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
51
49
  if response.status_code == 200:
52
- response_200 = GetGraphSchemaInfoResponseGetgraphschemainfo.from_dict(
53
- response.json()
54
- )
50
+ response_200 = GetGraphSchemaResponseGetgraphschema.from_dict(response.json())
55
51
 
56
52
  return response_200
53
+
57
54
  if response.status_code == 403:
58
55
  response_403 = cast(Any, None)
59
56
  return response_403
60
- if response.status_code == 500:
61
- response_500 = cast(Any, None)
62
- return response_500
57
+
63
58
  if response.status_code == 422:
64
59
  response_422 = HTTPValidationError.from_dict(response.json())
65
60
 
66
61
  return response_422
62
+
63
+ if response.status_code == 500:
64
+ response_500 = cast(Any, None)
65
+ return response_500
66
+
67
67
  if client.raise_on_unexpected_status:
68
68
  raise errors.UnexpectedStatus(response.status_code, response.content)
69
69
  else:
@@ -72,9 +72,7 @@ def _parse_response(
72
72
 
73
73
  def _build_response(
74
74
  *, client: Union[AuthenticatedClient, Client], response: httpx.Response
75
- ) -> Response[
76
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
77
- ]:
75
+ ) -> Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
78
76
  return Response(
79
77
  status_code=HTTPStatus(response.status_code),
80
78
  content=response.content,
@@ -89,10 +87,8 @@ def sync_detailed(
89
87
  client: AuthenticatedClient,
90
88
  token: Union[None, Unset, str] = UNSET,
91
89
  authorization: Union[None, Unset, str] = UNSET,
92
- ) -> Response[
93
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
94
- ]:
95
- """Get Runtime Graph Schema Information
90
+ ) -> Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
91
+ """Get Runtime Graph Schema
96
92
 
97
93
  Get runtime schema information for the specified graph database.
98
94
 
@@ -101,10 +97,10 @@ def sync_detailed(
101
97
  - **Relationship Types**: All relationship types currently in the database
102
98
  - **Node Properties**: Properties for each node type (limited to first 10 for performance)
103
99
 
104
- This is different from custom schema management - it shows what actually exists in the database,
105
- useful for understanding the current graph structure before writing queries.
100
+ This shows what actually exists in the database right now - the runtime state.
101
+ For the declared schema definition, use GET /schema/export instead.
106
102
 
107
- This operation is FREE - no credit consumption required.
103
+ This operation is included - no credit consumption required.
108
104
 
109
105
  Args:
110
106
  graph_id (str): The graph database to get schema for
@@ -116,7 +112,7 @@ def sync_detailed(
116
112
  httpx.TimeoutException: If the request takes longer than Client.timeout.
117
113
 
118
114
  Returns:
119
- Response[Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]]
115
+ Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]
120
116
  """
121
117
 
122
118
  kwargs = _get_kwargs(
@@ -138,10 +134,8 @@ def sync(
138
134
  client: AuthenticatedClient,
139
135
  token: Union[None, Unset, str] = UNSET,
140
136
  authorization: Union[None, Unset, str] = UNSET,
141
- ) -> Optional[
142
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
143
- ]:
144
- """Get Runtime Graph Schema Information
137
+ ) -> Optional[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
138
+ """Get Runtime Graph Schema
145
139
 
146
140
  Get runtime schema information for the specified graph database.
147
141
 
@@ -150,10 +144,10 @@ def sync(
150
144
  - **Relationship Types**: All relationship types currently in the database
151
145
  - **Node Properties**: Properties for each node type (limited to first 10 for performance)
152
146
 
153
- This is different from custom schema management - it shows what actually exists in the database,
154
- useful for understanding the current graph structure before writing queries.
147
+ This shows what actually exists in the database right now - the runtime state.
148
+ For the declared schema definition, use GET /schema/export instead.
155
149
 
156
- This operation is FREE - no credit consumption required.
150
+ This operation is included - no credit consumption required.
157
151
 
158
152
  Args:
159
153
  graph_id (str): The graph database to get schema for
@@ -165,7 +159,7 @@ def sync(
165
159
  httpx.TimeoutException: If the request takes longer than Client.timeout.
166
160
 
167
161
  Returns:
168
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
162
+ Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]
169
163
  """
170
164
 
171
165
  return sync_detailed(
@@ -182,10 +176,8 @@ async def asyncio_detailed(
182
176
  client: AuthenticatedClient,
183
177
  token: Union[None, Unset, str] = UNSET,
184
178
  authorization: Union[None, Unset, str] = UNSET,
185
- ) -> Response[
186
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
187
- ]:
188
- """Get Runtime Graph Schema Information
179
+ ) -> Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
180
+ """Get Runtime Graph Schema
189
181
 
190
182
  Get runtime schema information for the specified graph database.
191
183
 
@@ -194,10 +186,10 @@ async def asyncio_detailed(
194
186
  - **Relationship Types**: All relationship types currently in the database
195
187
  - **Node Properties**: Properties for each node type (limited to first 10 for performance)
196
188
 
197
- This is different from custom schema management - it shows what actually exists in the database,
198
- useful for understanding the current graph structure before writing queries.
189
+ This shows what actually exists in the database right now - the runtime state.
190
+ For the declared schema definition, use GET /schema/export instead.
199
191
 
200
- This operation is FREE - no credit consumption required.
192
+ This operation is included - no credit consumption required.
201
193
 
202
194
  Args:
203
195
  graph_id (str): The graph database to get schema for
@@ -209,7 +201,7 @@ async def asyncio_detailed(
209
201
  httpx.TimeoutException: If the request takes longer than Client.timeout.
210
202
 
211
203
  Returns:
212
- Response[Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]]
204
+ Response[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]
213
205
  """
214
206
 
215
207
  kwargs = _get_kwargs(
@@ -229,10 +221,8 @@ async def asyncio(
229
221
  client: AuthenticatedClient,
230
222
  token: Union[None, Unset, str] = UNSET,
231
223
  authorization: Union[None, Unset, str] = UNSET,
232
- ) -> Optional[
233
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
234
- ]:
235
- """Get Runtime Graph Schema Information
224
+ ) -> Optional[Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]]:
225
+ """Get Runtime Graph Schema
236
226
 
237
227
  Get runtime schema information for the specified graph database.
238
228
 
@@ -241,10 +231,10 @@ async def asyncio(
241
231
  - **Relationship Types**: All relationship types currently in the database
242
232
  - **Node Properties**: Properties for each node type (limited to first 10 for performance)
243
233
 
244
- This is different from custom schema management - it shows what actually exists in the database,
245
- useful for understanding the current graph structure before writing queries.
234
+ This shows what actually exists in the database right now - the runtime state.
235
+ For the declared schema definition, use GET /schema/export instead.
246
236
 
247
- This operation is FREE - no credit consumption required.
237
+ This operation is included - no credit consumption required.
248
238
 
249
239
  Args:
250
240
  graph_id (str): The graph database to get schema for
@@ -256,7 +246,7 @@ async def asyncio(
256
246
  httpx.TimeoutException: If the request takes longer than Client.timeout.
257
247
 
258
248
  Returns:
259
- Union[Any, GetGraphSchemaInfoResponseGetgraphschemainfo, HTTPValidationError]
249
+ Union[Any, GetGraphSchemaResponseGetgraphschema, HTTPValidationError]
260
250
  """
261
251
 
262
252
  return (
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "post",
38
- "url": f"/v1/{graph_id}/schema/validate",
38
+ "url": f"/v1/graphs/{graph_id}/schema/validate",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -54,22 +54,27 @@ def _parse_response(
54
54
  response_200 = SchemaValidationResponse.from_dict(response.json())
55
55
 
56
56
  return response_200
57
+
57
58
  if response.status_code == 400:
58
59
  response_400 = ErrorResponse.from_dict(response.json())
59
60
 
60
61
  return response_400
62
+
61
63
  if response.status_code == 403:
62
64
  response_403 = ErrorResponse.from_dict(response.json())
63
65
 
64
66
  return response_403
67
+
65
68
  if response.status_code == 422:
66
69
  response_422 = ErrorResponse.from_dict(response.json())
67
70
 
68
71
  return response_422
72
+
69
73
  if response.status_code == 500:
70
74
  response_500 = ErrorResponse.from_dict(response.json())
71
75
 
72
76
  return response_500
77
+
73
78
  if client.raise_on_unexpected_status:
74
79
  raise errors.UnexpectedStatus(response.status_code, response.content)
75
80
  else:
@@ -118,7 +123,7 @@ def sync_detailed(
118
123
  - Performance problems
119
124
  - Naming conflicts
120
125
 
121
- This operation is FREE - no credit consumption required.
126
+ This operation is included - no credit consumption required.
122
127
 
123
128
  Args:
124
129
  graph_id (str): Graph database identifier
@@ -179,7 +184,7 @@ def sync(
179
184
  - Performance problems
180
185
  - Naming conflicts
181
186
 
182
- This operation is FREE - no credit consumption required.
187
+ This operation is included - no credit consumption required.
183
188
 
184
189
  Args:
185
190
  graph_id (str): Graph database identifier
@@ -235,7 +240,7 @@ async def asyncio_detailed(
235
240
  - Performance problems
236
241
  - Naming conflicts
237
242
 
238
- This operation is FREE - no credit consumption required.
243
+ This operation is included - no credit consumption required.
239
244
 
240
245
  Args:
241
246
  graph_id (str): Graph database identifier
@@ -294,7 +299,7 @@ async def asyncio(
294
299
  - Performance problems
295
300
  - Naming conflicts
296
301
 
297
- This operation is FREE - no credit consumption required.
302
+ This operation is included - no credit consumption required.
298
303
 
299
304
  Args:
300
305
  graph_id (str): Graph database identifier
@@ -24,10 +24,12 @@ def _parse_response(
24
24
  if response.status_code == 200:
25
25
  response_200 = response.json()
26
26
  return response_200
27
+
27
28
  if response.status_code == 500:
28
29
  response_500 = ErrorResponse.from_dict(response.json())
29
30
 
30
31
  return response_500
32
+
31
33
  if client.raise_on_unexpected_status:
32
34
  raise errors.UnexpectedStatus(response.status_code, response.content)
33
35
  else:
@@ -25,6 +25,7 @@ def _parse_response(
25
25
  response_200 = HealthStatus.from_dict(response.json())
26
26
 
27
27
  return response_200
28
+
28
29
  if client.raise_on_unexpected_status:
29
30
  raise errors.UnexpectedStatus(response.status_code, response.content)
30
31
  else:
@@ -35,7 +35,7 @@ def _get_kwargs(
35
35
 
36
36
  _kwargs: dict[str, Any] = {
37
37
  "method": "post",
38
- "url": f"/v1/{graph_id}/subgraphs",
38
+ "url": f"/v1/graphs/{graph_id}/subgraphs",
39
39
  "params": params,
40
40
  }
41
41
 
@@ -54,10 +54,12 @@ def _parse_response(
54
54
  response_201 = SubgraphResponse.from_dict(response.json())
55
55
 
56
56
  return response_201
57
+
57
58
  if response.status_code == 422:
58
59
  response_422 = HTTPValidationError.from_dict(response.json())
59
60
 
60
61
  return response_422
62
+
61
63
  if client.raise_on_unexpected_status:
62
64
  raise errors.UnexpectedStatus(response.status_code, response.content)
63
65
  else:
@@ -36,7 +36,7 @@ def _get_kwargs(
36
36
 
37
37
  _kwargs: dict[str, Any] = {
38
38
  "method": "delete",
39
- "url": f"/v1/{graph_id}/subgraphs/{subgraph_id}",
39
+ "url": f"/v1/graphs/{graph_id}/subgraphs/{subgraph_id}",
40
40
  "params": params,
41
41
  }
42
42
 
@@ -55,28 +55,36 @@ def _parse_response(
55
55
  response_200 = DeleteSubgraphResponse.from_dict(response.json())
56
56
 
57
57
  return response_200
58
+
59
+ if response.status_code == 400:
60
+ response_400 = cast(Any, None)
61
+ return response_400
62
+
58
63
  if response.status_code == 401:
59
64
  response_401 = cast(Any, None)
60
65
  return response_401
66
+
61
67
  if response.status_code == 403:
62
68
  response_403 = cast(Any, None)
63
69
  return response_403
70
+
64
71
  if response.status_code == 404:
65
72
  response_404 = cast(Any, None)
66
73
  return response_404
67
- if response.status_code == 400:
68
- response_400 = cast(Any, None)
69
- return response_400
74
+
70
75
  if response.status_code == 409:
71
76
  response_409 = cast(Any, None)
72
77
  return response_409
73
- if response.status_code == 500:
74
- response_500 = cast(Any, None)
75
- return response_500
78
+
76
79
  if response.status_code == 422:
77
80
  response_422 = HTTPValidationError.from_dict(response.json())
78
81
 
79
82
  return response_422
83
+
84
+ if response.status_code == 500:
85
+ response_500 = cast(Any, None)
86
+ return response_500
87
+
80
88
  if client.raise_on_unexpected_status:
81
89
  raise errors.UnexpectedStatus(response.status_code, response.content)
82
90
  else:
@@ -34,7 +34,7 @@ def _get_kwargs(
34
34
 
35
35
  _kwargs: dict[str, Any] = {
36
36
  "method": "get",
37
- "url": f"/v1/{graph_id}/subgraphs/{subgraph_id}/info",
37
+ "url": f"/v1/graphs/{graph_id}/subgraphs/{subgraph_id}/info",
38
38
  "params": params,
39
39
  }
40
40
 
@@ -49,25 +49,32 @@ def _parse_response(
49
49
  response_200 = SubgraphResponse.from_dict(response.json())
50
50
 
51
51
  return response_200
52
+
53
+ if response.status_code == 400:
54
+ response_400 = cast(Any, None)
55
+ return response_400
56
+
52
57
  if response.status_code == 401:
53
58
  response_401 = cast(Any, None)
54
59
  return response_401
60
+
55
61
  if response.status_code == 403:
56
62
  response_403 = cast(Any, None)
57
63
  return response_403
64
+
58
65
  if response.status_code == 404:
59
66
  response_404 = cast(Any, None)
60
67
  return response_404
61
- if response.status_code == 400:
62
- response_400 = cast(Any, None)
63
- return response_400
64
- if response.status_code == 500:
65
- response_500 = cast(Any, None)
66
- return response_500
68
+
67
69
  if response.status_code == 422:
68
70
  response_422 = HTTPValidationError.from_dict(response.json())
69
71
 
70
72
  return response_422
73
+
74
+ if response.status_code == 500:
75
+ response_500 = cast(Any, None)
76
+ return response_500
77
+
71
78
  if client.raise_on_unexpected_status:
72
79
  raise errors.UnexpectedStatus(response.status_code, response.content)
73
80
  else:
@@ -33,7 +33,7 @@ def _get_kwargs(
33
33
 
34
34
  _kwargs: dict[str, Any] = {
35
35
  "method": "get",
36
- "url": f"/v1/{graph_id}/subgraphs/quota",
36
+ "url": f"/v1/graphs/{graph_id}/subgraphs/quota",
37
37
  "params": params,
38
38
  }
39
39
 
@@ -48,22 +48,28 @@ def _parse_response(
48
48
  response_200 = SubgraphQuotaResponse.from_dict(response.json())
49
49
 
50
50
  return response_200
51
+
51
52
  if response.status_code == 401:
52
53
  response_401 = cast(Any, None)
53
54
  return response_401
55
+
54
56
  if response.status_code == 403:
55
57
  response_403 = cast(Any, None)
56
58
  return response_403
59
+
57
60
  if response.status_code == 404:
58
61
  response_404 = cast(Any, None)
59
62
  return response_404
60
- if response.status_code == 500:
61
- response_500 = cast(Any, None)
62
- return response_500
63
+
63
64
  if response.status_code == 422:
64
65
  response_422 = HTTPValidationError.from_dict(response.json())
65
66
 
66
67
  return response_422
68
+
69
+ if response.status_code == 500:
70
+ response_500 = cast(Any, None)
71
+ return response_500
72
+
67
73
  if client.raise_on_unexpected_status:
68
74
  raise errors.UnexpectedStatus(response.status_code, response.content)
69
75
  else:
@@ -33,7 +33,7 @@ def _get_kwargs(
33
33
 
34
34
  _kwargs: dict[str, Any] = {
35
35
  "method": "get",
36
- "url": f"/v1/{graph_id}/subgraphs",
36
+ "url": f"/v1/graphs/{graph_id}/subgraphs",
37
37
  "params": params,
38
38
  }
39
39
 
@@ -48,10 +48,12 @@ def _parse_response(
48
48
  response_200 = ListSubgraphsResponse.from_dict(response.json())
49
49
 
50
50
  return response_200
51
+
51
52
  if response.status_code == 422:
52
53
  response_422 = HTTPValidationError.from_dict(response.json())
53
54
 
54
55
  return response_422
56
+
55
57
  if client.raise_on_unexpected_status:
56
58
  raise errors.UnexpectedStatus(response.status_code, response.content)
57
59
  else: