robosystems-client 0.2.1__py3-none-any.whl → 0.2.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of robosystems-client might be problematic. Click here for more details.
- robosystems_client/api/tables/delete_file.py +437 -0
- robosystems_client/api/tables/get_file_info.py +397 -0
- robosystems_client/api/tables/get_upload_url.py +548 -0
- robosystems_client/api/tables/ingest_tables.py +616 -0
- robosystems_client/api/tables/list_table_files.py +509 -0
- robosystems_client/api/tables/list_tables.py +488 -0
- robosystems_client/api/tables/query_tables.py +487 -0
- robosystems_client/api/tables/update_file_status.py +539 -0
- robosystems_client/extensions/__init__.py +11 -0
- robosystems_client/extensions/extensions.py +3 -0
- robosystems_client/extensions/graph_client.py +326 -0
- robosystems_client/extensions/query_client.py +74 -1
- robosystems_client/extensions/table_ingest_client.py +31 -40
- robosystems_client/models/__init__.py +13 -17
- robosystems_client/models/create_graph_request.py +11 -0
- robosystems_client/models/{delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py → delete_file_response.py} +45 -9
- robosystems_client/models/file_info.py +169 -0
- robosystems_client/models/file_status_update.py +41 -0
- robosystems_client/models/get_file_info_response.py +205 -0
- robosystems_client/models/list_table_files_response.py +105 -0
- robosystems_client/models/{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 → update_file_status_response_updatefilestatus.py} +5 -8
- {robosystems_client-0.2.1.dist-info → robosystems_client-0.2.3.dist-info}/METADATA +1 -1
- {robosystems_client-0.2.1.dist-info → robosystems_client-0.2.3.dist-info}/RECORD +25 -23
- robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +0 -287
- robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +0 -283
- robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +0 -260
- robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +0 -251
- robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +0 -283
- robosystems_client/api/tables/list_tables_v1_graphs_graph_id_tables_get.py +0 -224
- robosystems_client/api/tables/query_tables_v1_graphs_graph_id_tables_query_post.py +0 -247
- robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +0 -306
- robosystems_client/models/file_update_request.py +0 -62
- 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 +0 -47
- robosystems_client/models/update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +0 -47
- {robosystems_client-0.2.1.dist-info → robosystems_client-0.2.3.dist-info}/WHEEL +0 -0
- {robosystems_client-0.2.1.dist-info → robosystems_client-0.2.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -95,14 +95,14 @@ robosystems_client/api/subgraphs/get_subgraph_info.py,sha256=n3AZhGq3ei6RGwPFmQ4
|
|
|
95
95
|
robosystems_client/api/subgraphs/get_subgraph_quota.py,sha256=6xjVR7W1ABbDdWsm8EWCqZhLQgZUHeom2tD0xZkwVKI,8208
|
|
96
96
|
robosystems_client/api/subgraphs/list_subgraphs.py,sha256=ztBgsRPYvmCNXyMae_9sfS-TtQaONR-CXr4DbaJDF7M,7102
|
|
97
97
|
robosystems_client/api/tables/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
98
|
-
robosystems_client/api/tables/
|
|
99
|
-
robosystems_client/api/tables/
|
|
100
|
-
robosystems_client/api/tables/
|
|
101
|
-
robosystems_client/api/tables/
|
|
102
|
-
robosystems_client/api/tables/
|
|
103
|
-
robosystems_client/api/tables/
|
|
104
|
-
robosystems_client/api/tables/
|
|
105
|
-
robosystems_client/api/tables/
|
|
98
|
+
robosystems_client/api/tables/delete_file.py,sha256=HwUG652TBFYFZk5GnTilkkQeSC7HTZgcYAPT8b4hnII,13298
|
|
99
|
+
robosystems_client/api/tables/get_file_info.py,sha256=Fcx6NUbzj0pronXbNbP5TlknLE7sp_fPgs23SEsRZ4c,11643
|
|
100
|
+
robosystems_client/api/tables/get_upload_url.py,sha256=EGekTNflf3v3iy_2nAq_inn2tj03bpNUbB9lLZsej8w,17487
|
|
101
|
+
robosystems_client/api/tables/ingest_tables.py,sha256=uOHlpJH7oVXwPC05kWFK2jHxUTB6YRp_E6N9IonIypM,20020
|
|
102
|
+
robosystems_client/api/tables/list_table_files.py,sha256=yndmEivJAvowHe0ac8GRnYMGN9whbL8gOfnNx67TE0E,15478
|
|
103
|
+
robosystems_client/api/tables/list_tables.py,sha256=uukVOMGs6PZeyRU4c2nCcBcGy3-ReGWLUvKaAisUPJo,14340
|
|
104
|
+
robosystems_client/api/tables/query_tables.py,sha256=-C7EjHfZ3MbHYLbcBqTO9bkBa79pDihlilvuyUtVCkI,14283
|
|
105
|
+
robosystems_client/api/tables/update_file_status.py,sha256=l91bjRtZAUKb8YykxkDFWkHdBYNOYj1V4Emc912wRHg,15922
|
|
106
106
|
robosystems_client/api/user/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
|
|
107
107
|
robosystems_client/api/user/create_user_api_key.py,sha256=sC7Hq7JPEihkP6pXvRCfqupG0c6aYkRsEiqVu5uxODI,6057
|
|
108
108
|
robosystems_client/api/user/get_all_credit_summaries.py,sha256=uYOOF4ROLvx2uqMs_MoaTo0crk6VZb8JsS1cGszaKYg,7233
|
|
@@ -128,14 +128,15 @@ robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py,sha25
|
|
|
128
128
|
robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py,sha256=GBr_AahYctNKUVg5O-wqju3sdL-DYFZLPtYnjfR9c5c,6606
|
|
129
129
|
robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py,sha256=-kfP0zkXo9-OojY8-EvxK-hFiJBCdR-MV4puqCcHtrA,6742
|
|
130
130
|
robosystems_client/extensions/README.md,sha256=qfHFjdgA_J-zNXziNZE6M1MKJiwVkocBi01w_HhvzEk,16136
|
|
131
|
-
robosystems_client/extensions/__init__.py,sha256=
|
|
131
|
+
robosystems_client/extensions/__init__.py,sha256=BH2VcEDBL8-HcT-nmwmEPUveRxoWVTEnTog6X3oJZAY,4993
|
|
132
132
|
robosystems_client/extensions/auth_integration.py,sha256=9dBuLP-dWeZecaf7hXZcJA-L6eiSCeTHIPFIUMmASkU,6610
|
|
133
133
|
robosystems_client/extensions/dataframe_utils.py,sha256=gK1bgkVqBF0TvWVdGQvqWrt-ur_Rw11j8uNtMoulLWE,12312
|
|
134
|
-
robosystems_client/extensions/extensions.py,sha256=
|
|
134
|
+
robosystems_client/extensions/extensions.py,sha256=ROnCobUek4Dke9dVx2sTzNKhz309NOG40EDSYHtNmWs,6257
|
|
135
|
+
robosystems_client/extensions/graph_client.py,sha256=OBi0xj0SLIRKLeSu_DiGt2ZakCmhggvNrMP3jdRfEgQ,10326
|
|
135
136
|
robosystems_client/extensions/operation_client.py,sha256=B1qju-wWQrnrnVJixKGgsA_KEInviwJwdlJxzm_i7P0,13359
|
|
136
|
-
robosystems_client/extensions/query_client.py,sha256=
|
|
137
|
+
robosystems_client/extensions/query_client.py,sha256=NVaoTrYzSdR_pzrSwi8AsZ7WaUi7yTAcN9eJ5HFeFa8,16885
|
|
137
138
|
robosystems_client/extensions/sse_client.py,sha256=fWO6EPiLmS3LJ8iph5wup57ldtHSLBkDoiAPfBNNCyk,15048
|
|
138
|
-
robosystems_client/extensions/table_ingest_client.py,sha256=
|
|
139
|
+
robosystems_client/extensions/table_ingest_client.py,sha256=g0khPA1kdDk7eRTrCgsSSgWY3c5B-sFMKAGxv0ueoB0,12679
|
|
139
140
|
robosystems_client/extensions/token_utils.py,sha256=qCK_s1vBzRnSYwtgncPZRLJVIw3WXmzqNTWjdEEpdgs,10899
|
|
140
141
|
robosystems_client/extensions/utils.py,sha256=t-vUeVSmus6tcSa6mpKWmtGyZqYB51_CqgUIYyTfqXw,16183
|
|
141
142
|
robosystems_client/extensions/tests/__init__.py,sha256=S61GPbL-2pgLVe11uHwHLenpIpzyywWXzXqJypr0T3Q,46
|
|
@@ -143,7 +144,7 @@ robosystems_client/extensions/tests/test_dataframe_utils.py,sha256=g184mdEMSkFt6
|
|
|
143
144
|
robosystems_client/extensions/tests/test_integration.py,sha256=DszEH9-CJ-d5KB2NNNY9BZMT8f3A_Z-MLXYW5WfVeRk,15446
|
|
144
145
|
robosystems_client/extensions/tests/test_token_utils.py,sha256=CsrpW771pLRrdQoM91oJ9_B33SB3YTno4_OPog6mIgo,8424
|
|
145
146
|
robosystems_client/extensions/tests/test_unit.py,sha256=REnfMGpgH-FS-n860-3qXEUqAxZ7zbci-nIDPYuB7Tw,16712
|
|
146
|
-
robosystems_client/models/__init__.py,sha256=
|
|
147
|
+
robosystems_client/models/__init__.py,sha256=1ywX7D-0UcmkRWsvWfhtb6SSWK9q6DpZIIXIpvSZVDM,19885
|
|
147
148
|
robosystems_client/models/account_info.py,sha256=rcENAioMA3olA3Sks5raIqeODqRgrmFuiFhwzLunrGI,2054
|
|
148
149
|
robosystems_client/models/add_on_credit_info.py,sha256=h65KAb8yZP_SGpsB2Ref4IaBCthEDYJgFGTd9PjUpfs,3221
|
|
149
150
|
robosystems_client/models/agent_list_response.py,sha256=68PkLJ3goUZlm8WZ4HOjlWLZrPYKwJQ6PTPm2ZNRmBM,1873
|
|
@@ -192,7 +193,7 @@ robosystems_client/models/create_api_key_request.py,sha256=aP-X8CtffeRUXDqG-WzM4
|
|
|
192
193
|
robosystems_client/models/create_api_key_response.py,sha256=9cqlZDogqxdSXxxHT6PnfClTP-Q35CvfQjNIvPEe1Pw,1797
|
|
193
194
|
robosystems_client/models/create_connection_request.py,sha256=B9riNF1QK1P3RB680lFAJGsZtYbPHVc14u1TBnIv0QQ,5948
|
|
194
195
|
robosystems_client/models/create_connection_request_provider.py,sha256=TBZm3ApK31i1jit4WUxqtFtJq-LYKqXeVAHJIJh9Slw,190
|
|
195
|
-
robosystems_client/models/create_graph_request.py,sha256=
|
|
196
|
+
robosystems_client/models/create_graph_request.py,sha256=oRz6wseANZRbU8COG8AsSso6Oj26TgvZuXRRWxUAGKs,6126
|
|
196
197
|
robosystems_client/models/create_subgraph_request.py,sha256=upBIPF4MIrawR_fAodpo4ts9sinq7FyDT2VyfR_uCp8,5777
|
|
197
198
|
robosystems_client/models/create_subgraph_request_metadata_type_0.py,sha256=dqVIzDSjIeTsKLCC7pmJAik2eJPIyi_6uTHzkspU37M,1257
|
|
198
199
|
robosystems_client/models/credit_summary.py,sha256=TaK9e6Jp7yqWMtBDVfB2bL7mlTw87Qwf1_foausmQwI,4802
|
|
@@ -207,7 +208,7 @@ robosystems_client/models/cypher_query_request.py,sha256=Y40qJmtFszBPkKw1VhezR0G
|
|
|
207
208
|
robosystems_client/models/cypher_query_request_parameters_type_0.py,sha256=I8QFYojTUqvgSeiS2uP79PQQfqulTB89OyXXgYbl3Cc,1252
|
|
208
209
|
robosystems_client/models/database_health_response.py,sha256=LdvO6aVSUiEej3vyshiu6zoP_FcgbJmpCll0g-aNci0,5631
|
|
209
210
|
robosystems_client/models/database_info_response.py,sha256=lj1MUSUzLq5WNJyxXU6g5M7RrPOBPSffR25WUp0EjXc,5652
|
|
210
|
-
robosystems_client/models/
|
|
211
|
+
robosystems_client/models/delete_file_response.py,sha256=YjE5V88BcMdFXlMEeCJzUJC1Q5TCdJZgXTmeIopJjuA,1900
|
|
211
212
|
robosystems_client/models/delete_subgraph_request.py,sha256=F0UVznC5pUnwhX2zZWyPdSxpwtrj-jZIVmnTKCgjDNI,2682
|
|
212
213
|
robosystems_client/models/delete_subgraph_response.py,sha256=zPgaUcaqzwmaxEFwok2c3OLCEe1YT4-mnckD_Lr-Nd4,3340
|
|
213
214
|
robosystems_client/models/detailed_transactions_response.py,sha256=gNvssogFCR4cK54swZMpHhUOHhRLTwiUlI0oZpVwj9g,3660
|
|
@@ -219,7 +220,8 @@ robosystems_client/models/enhanced_credit_transaction_response_metadata.py,sha25
|
|
|
219
220
|
robosystems_client/models/error_response.py,sha256=Kc97dTQxR9jANL-MOPwnE4voKA1O0X3qkx_jeY9k-BU,4111
|
|
220
221
|
robosystems_client/models/exchange_token_request.py,sha256=76zVpSXbbuJpMAnf_rRT0EjpxH1PZD9nFLJK8i6cn6E,3290
|
|
221
222
|
robosystems_client/models/exchange_token_request_metadata_type_0.py,sha256=4ndzrJRefnYO_ikDiySWS2aHBNFCG5Y2SF-bHF_jPYw,1252
|
|
222
|
-
robosystems_client/models/
|
|
223
|
+
robosystems_client/models/file_info.py,sha256=sFj_D2OkQI0-OMQBTc_73xTSw6D2BCChkgz1j41r-0k,4567
|
|
224
|
+
robosystems_client/models/file_status_update.py,sha256=QMdnB_657PCnWwW1nO5VHCmW2e30mIdF-myTAazak3k,790
|
|
223
225
|
robosystems_client/models/file_upload_request.py,sha256=7loA-BBy69IKVIcyeTDhnFrBx_sibNfnHXthaJpnL0M,1122
|
|
224
226
|
robosystems_client/models/file_upload_response.py,sha256=_qgC8LcVEjpDA4S2_zCbi9BedS2a0uobB5VbNKEnpyc,1958
|
|
225
227
|
robosystems_client/models/forgot_password_request.py,sha256=jgJf6E-4cun0vbm1LFPN-bC8HejoeJq6NVgWhGVn7Lg,1440
|
|
@@ -229,7 +231,7 @@ robosystems_client/models/get_all_shared_repository_limits_response_getallshared
|
|
|
229
231
|
robosystems_client/models/get_backup_download_url_response_getbackupdownloadurl.py,sha256=dDqOgolFduHyRXl5y5q9zH0_y4GuDGq-wwQUA9pl0X0,1327
|
|
230
232
|
robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py,sha256=QbLg6o9w0UQs2npB27r2lLfWi9uAe4cjmN0srszTKDE,1307
|
|
231
233
|
robosystems_client/models/get_current_graph_bill_response_getcurrentgraphbill.py,sha256=PjfVnVwWG6BEBWEjb5kvN5XYtC2uTc5h4OIKPmZv-Gc,1317
|
|
232
|
-
robosystems_client/models/
|
|
234
|
+
robosystems_client/models/get_file_info_response.py,sha256=b9EWhA-zVBlbaw3lChETnNiLpCmGecv_RVjUb3ZF8Ig,5624
|
|
233
235
|
robosystems_client/models/get_graph_billing_history_response_getgraphbillinghistory.py,sha256=IyBAkkk8vtqQx9Twif1J7iG-9iaeuMm1W_75E7pzM-A,1347
|
|
234
236
|
robosystems_client/models/get_graph_limits_response_getgraphlimits.py,sha256=ekkBGt3Pybn7-xZIhth_uBGhyiTvWRxHbXRPBSX0ms0,1264
|
|
235
237
|
robosystems_client/models/get_graph_monthly_bill_response_getgraphmonthlybill.py,sha256=q1k4zEtQmcBpgz_vz9B26Deu4qT4evEsAiRoTpmcw0w,1317
|
|
@@ -258,7 +260,7 @@ robosystems_client/models/link_token_request_options_type_0.py,sha256=WjW-JluLY0
|
|
|
258
260
|
robosystems_client/models/link_token_request_provider_type_0.py,sha256=N2wRX99ghudXH6qC8HX9MUgUrwFRCzasoQSg74UCHZo,188
|
|
259
261
|
robosystems_client/models/list_connections_provider_type_0.py,sha256=Mmteiaom76sOnidak7Y1zY4UemEbnM_3BnfbkFUUVv0,187
|
|
260
262
|
robosystems_client/models/list_subgraphs_response.py,sha256=PsavKzFwdPfM_4ZeX5-NcWo8K-x0KaFT7y4y_Zf7J98,4498
|
|
261
|
-
robosystems_client/models/
|
|
263
|
+
robosystems_client/models/list_table_files_response.py,sha256=3ozQqPez4EFBm2T1mrPu0dCpGck0zuthTdg8wmeeSms,2654
|
|
262
264
|
robosystems_client/models/login_request.py,sha256=bWvQYg7jPbtE__tVOqPKqGYx7Yzex2hPfOm2fJZjvLU,1543
|
|
263
265
|
robosystems_client/models/logout_user_response_logoutuser.py,sha256=UGr9RnAP7Db-T5JLbH6R6CZjZaENzIX6iW31nxBAIBI,1221
|
|
264
266
|
robosystems_client/models/mcp_tool_call.py,sha256=--2c-SyQb1XxZNMTcb8VWZ_ldomBp3zefuirUybIwWQ,2212
|
|
@@ -323,7 +325,7 @@ robosystems_client/models/table_query_response.py,sha256=Y9zUSm1BPRfJEN_SP6lIZIQ
|
|
|
323
325
|
robosystems_client/models/tier_upgrade_request.py,sha256=uSF_CpTLwlj6jTO7a9yCbboBGvuzJOIgyVjJYVNc6t4,1567
|
|
324
326
|
robosystems_client/models/transaction_summary_response.py,sha256=MSQYuOharoRpBilqmpKo_Dxv39QLjJ0g5oY9NYsCQNA,3714
|
|
325
327
|
robosystems_client/models/update_api_key_request.py,sha256=fQVFQnUSIRDcBkCZP6ObAdVjIReaYuqSS3eliNSt59c,2527
|
|
326
|
-
robosystems_client/models/
|
|
328
|
+
robosystems_client/models/update_file_status_response_updatefilestatus.py,sha256=CnUPFGrufD3EMGXpqCX9Xa8dyY0ZZfb6B5Ke2Ktqiuk,1284
|
|
327
329
|
robosystems_client/models/update_password_request.py,sha256=3YwCzOJwE3WYpv05JwVBpwL71GCsj1fMLngxuEsXtpE,2013
|
|
328
330
|
robosystems_client/models/update_user_request.py,sha256=DLN_cfsk24jG34v66YedfJ1N26wvueoXVTTi8Bd4mcQ,2420
|
|
329
331
|
robosystems_client/models/user_analytics_response.py,sha256=M89LNcZ6x2p0WY1NTKs9mu2o1ql-ubdr5RFZnQVCXnM,4423
|
|
@@ -342,7 +344,7 @@ robosystems_client/models/user_usage_response_graphs.py,sha256=xAH-ZnhaUfWQ_2EpZ
|
|
|
342
344
|
robosystems_client/models/user_usage_summary_response.py,sha256=4hthwTH7bXyzdYlHoekDYOgDLI-stGRH507Bl2rUjYA,3655
|
|
343
345
|
robosystems_client/models/user_usage_summary_response_usage_vs_limits.py,sha256=XrZnRcy1nD3xtKX4svbww7QfEHrN7_XIfeL9j5ZMbyQ,1298
|
|
344
346
|
robosystems_client/models/validation_error.py,sha256=R77OuQG2nJ3WDFfY--xbEhg6x1D7gAAp_1UdnG8Ka2A,1949
|
|
345
|
-
robosystems_client-0.2.
|
|
346
|
-
robosystems_client-0.2.
|
|
347
|
-
robosystems_client-0.2.
|
|
348
|
-
robosystems_client-0.2.
|
|
347
|
+
robosystems_client-0.2.3.dist-info/METADATA,sha256=zZxTEjDcuHivzMeeJ8YWWMOH8BJzm7Cr1FAtCfj21ZY,3959
|
|
348
|
+
robosystems_client-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
349
|
+
robosystems_client-0.2.3.dist-info/licenses/LICENSE,sha256=LjFqQPU4eQh7jAQ04SmE9eC0j74HCdXvzbo0hjW4mWo,1063
|
|
350
|
+
robosystems_client-0.2.3.dist-info/RECORD,,
|
|
@@ -1,287 +0,0 @@
|
|
|
1
|
-
from http import HTTPStatus
|
|
2
|
-
from typing import Any, Optional, Union, cast
|
|
3
|
-
|
|
4
|
-
import httpx
|
|
5
|
-
|
|
6
|
-
from ... import errors
|
|
7
|
-
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...models.delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete import (
|
|
9
|
-
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
10
|
-
)
|
|
11
|
-
from ...models.error_response import ErrorResponse
|
|
12
|
-
from ...models.http_validation_error import HTTPValidationError
|
|
13
|
-
from ...types import UNSET, Response, Unset
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def _get_kwargs(
|
|
17
|
-
graph_id: str,
|
|
18
|
-
file_id: str,
|
|
19
|
-
*,
|
|
20
|
-
token: Union[None, Unset, str] = UNSET,
|
|
21
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
22
|
-
) -> dict[str, Any]:
|
|
23
|
-
headers: dict[str, Any] = {}
|
|
24
|
-
if not isinstance(authorization, Unset):
|
|
25
|
-
headers["authorization"] = authorization
|
|
26
|
-
|
|
27
|
-
params: dict[str, Any] = {}
|
|
28
|
-
|
|
29
|
-
json_token: Union[None, Unset, str]
|
|
30
|
-
if isinstance(token, Unset):
|
|
31
|
-
json_token = UNSET
|
|
32
|
-
else:
|
|
33
|
-
json_token = token
|
|
34
|
-
params["token"] = json_token
|
|
35
|
-
|
|
36
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
37
|
-
|
|
38
|
-
_kwargs: dict[str, Any] = {
|
|
39
|
-
"method": "delete",
|
|
40
|
-
"url": f"/v1/graphs/{graph_id}/tables/files/{file_id}",
|
|
41
|
-
"params": params,
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
_kwargs["headers"] = headers
|
|
45
|
-
return _kwargs
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
def _parse_response(
|
|
49
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
50
|
-
) -> Optional[
|
|
51
|
-
Union[
|
|
52
|
-
Any,
|
|
53
|
-
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
54
|
-
ErrorResponse,
|
|
55
|
-
HTTPValidationError,
|
|
56
|
-
]
|
|
57
|
-
]:
|
|
58
|
-
if response.status_code == 200:
|
|
59
|
-
response_200 = DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete.from_dict(
|
|
60
|
-
response.json()
|
|
61
|
-
)
|
|
62
|
-
|
|
63
|
-
return response_200
|
|
64
|
-
|
|
65
|
-
if response.status_code == 401:
|
|
66
|
-
response_401 = cast(Any, None)
|
|
67
|
-
return response_401
|
|
68
|
-
|
|
69
|
-
if response.status_code == 403:
|
|
70
|
-
response_403 = ErrorResponse.from_dict(response.json())
|
|
71
|
-
|
|
72
|
-
return response_403
|
|
73
|
-
|
|
74
|
-
if response.status_code == 404:
|
|
75
|
-
response_404 = ErrorResponse.from_dict(response.json())
|
|
76
|
-
|
|
77
|
-
return response_404
|
|
78
|
-
|
|
79
|
-
if response.status_code == 422:
|
|
80
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
81
|
-
|
|
82
|
-
return response_422
|
|
83
|
-
|
|
84
|
-
if client.raise_on_unexpected_status:
|
|
85
|
-
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
86
|
-
else:
|
|
87
|
-
return None
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
def _build_response(
|
|
91
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
92
|
-
) -> Response[
|
|
93
|
-
Union[
|
|
94
|
-
Any,
|
|
95
|
-
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
96
|
-
ErrorResponse,
|
|
97
|
-
HTTPValidationError,
|
|
98
|
-
]
|
|
99
|
-
]:
|
|
100
|
-
return Response(
|
|
101
|
-
status_code=HTTPStatus(response.status_code),
|
|
102
|
-
content=response.content,
|
|
103
|
-
headers=response.headers,
|
|
104
|
-
parsed=_parse_response(client=client, response=response),
|
|
105
|
-
)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
def sync_detailed(
|
|
109
|
-
graph_id: str,
|
|
110
|
-
file_id: str,
|
|
111
|
-
*,
|
|
112
|
-
client: AuthenticatedClient,
|
|
113
|
-
token: Union[None, Unset, str] = UNSET,
|
|
114
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
115
|
-
) -> Response[
|
|
116
|
-
Union[
|
|
117
|
-
Any,
|
|
118
|
-
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
119
|
-
ErrorResponse,
|
|
120
|
-
HTTPValidationError,
|
|
121
|
-
]
|
|
122
|
-
]:
|
|
123
|
-
"""Delete File
|
|
124
|
-
|
|
125
|
-
Delete a specific file from S3 and database tracking. DuckDB will automatically exclude it from
|
|
126
|
-
queries.
|
|
127
|
-
|
|
128
|
-
Args:
|
|
129
|
-
graph_id (str): Graph database identifier
|
|
130
|
-
file_id (str): File ID
|
|
131
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
132
|
-
authorization (Union[None, Unset, str]):
|
|
133
|
-
|
|
134
|
-
Raises:
|
|
135
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
136
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
137
|
-
|
|
138
|
-
Returns:
|
|
139
|
-
Response[Union[Any, DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete, ErrorResponse, HTTPValidationError]]
|
|
140
|
-
"""
|
|
141
|
-
|
|
142
|
-
kwargs = _get_kwargs(
|
|
143
|
-
graph_id=graph_id,
|
|
144
|
-
file_id=file_id,
|
|
145
|
-
token=token,
|
|
146
|
-
authorization=authorization,
|
|
147
|
-
)
|
|
148
|
-
|
|
149
|
-
response = client.get_httpx_client().request(
|
|
150
|
-
**kwargs,
|
|
151
|
-
)
|
|
152
|
-
|
|
153
|
-
return _build_response(client=client, response=response)
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
def sync(
|
|
157
|
-
graph_id: str,
|
|
158
|
-
file_id: str,
|
|
159
|
-
*,
|
|
160
|
-
client: AuthenticatedClient,
|
|
161
|
-
token: Union[None, Unset, str] = UNSET,
|
|
162
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
163
|
-
) -> Optional[
|
|
164
|
-
Union[
|
|
165
|
-
Any,
|
|
166
|
-
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
167
|
-
ErrorResponse,
|
|
168
|
-
HTTPValidationError,
|
|
169
|
-
]
|
|
170
|
-
]:
|
|
171
|
-
"""Delete File
|
|
172
|
-
|
|
173
|
-
Delete a specific file from S3 and database tracking. DuckDB will automatically exclude it from
|
|
174
|
-
queries.
|
|
175
|
-
|
|
176
|
-
Args:
|
|
177
|
-
graph_id (str): Graph database identifier
|
|
178
|
-
file_id (str): File ID
|
|
179
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
180
|
-
authorization (Union[None, Unset, str]):
|
|
181
|
-
|
|
182
|
-
Raises:
|
|
183
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
184
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
185
|
-
|
|
186
|
-
Returns:
|
|
187
|
-
Union[Any, DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete, ErrorResponse, HTTPValidationError]
|
|
188
|
-
"""
|
|
189
|
-
|
|
190
|
-
return sync_detailed(
|
|
191
|
-
graph_id=graph_id,
|
|
192
|
-
file_id=file_id,
|
|
193
|
-
client=client,
|
|
194
|
-
token=token,
|
|
195
|
-
authorization=authorization,
|
|
196
|
-
).parsed
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
async def asyncio_detailed(
|
|
200
|
-
graph_id: str,
|
|
201
|
-
file_id: str,
|
|
202
|
-
*,
|
|
203
|
-
client: AuthenticatedClient,
|
|
204
|
-
token: Union[None, Unset, str] = UNSET,
|
|
205
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
206
|
-
) -> Response[
|
|
207
|
-
Union[
|
|
208
|
-
Any,
|
|
209
|
-
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
210
|
-
ErrorResponse,
|
|
211
|
-
HTTPValidationError,
|
|
212
|
-
]
|
|
213
|
-
]:
|
|
214
|
-
"""Delete File
|
|
215
|
-
|
|
216
|
-
Delete a specific file from S3 and database tracking. DuckDB will automatically exclude it from
|
|
217
|
-
queries.
|
|
218
|
-
|
|
219
|
-
Args:
|
|
220
|
-
graph_id (str): Graph database identifier
|
|
221
|
-
file_id (str): File ID
|
|
222
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
223
|
-
authorization (Union[None, Unset, str]):
|
|
224
|
-
|
|
225
|
-
Raises:
|
|
226
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
227
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
228
|
-
|
|
229
|
-
Returns:
|
|
230
|
-
Response[Union[Any, DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete, ErrorResponse, HTTPValidationError]]
|
|
231
|
-
"""
|
|
232
|
-
|
|
233
|
-
kwargs = _get_kwargs(
|
|
234
|
-
graph_id=graph_id,
|
|
235
|
-
file_id=file_id,
|
|
236
|
-
token=token,
|
|
237
|
-
authorization=authorization,
|
|
238
|
-
)
|
|
239
|
-
|
|
240
|
-
response = await client.get_async_httpx_client().request(**kwargs)
|
|
241
|
-
|
|
242
|
-
return _build_response(client=client, response=response)
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
async def asyncio(
|
|
246
|
-
graph_id: str,
|
|
247
|
-
file_id: str,
|
|
248
|
-
*,
|
|
249
|
-
client: AuthenticatedClient,
|
|
250
|
-
token: Union[None, Unset, str] = UNSET,
|
|
251
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
252
|
-
) -> Optional[
|
|
253
|
-
Union[
|
|
254
|
-
Any,
|
|
255
|
-
DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
|
|
256
|
-
ErrorResponse,
|
|
257
|
-
HTTPValidationError,
|
|
258
|
-
]
|
|
259
|
-
]:
|
|
260
|
-
"""Delete File
|
|
261
|
-
|
|
262
|
-
Delete a specific file from S3 and database tracking. DuckDB will automatically exclude it from
|
|
263
|
-
queries.
|
|
264
|
-
|
|
265
|
-
Args:
|
|
266
|
-
graph_id (str): Graph database identifier
|
|
267
|
-
file_id (str): File ID
|
|
268
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
269
|
-
authorization (Union[None, Unset, str]):
|
|
270
|
-
|
|
271
|
-
Raises:
|
|
272
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
273
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
274
|
-
|
|
275
|
-
Returns:
|
|
276
|
-
Union[Any, DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete, ErrorResponse, HTTPValidationError]
|
|
277
|
-
"""
|
|
278
|
-
|
|
279
|
-
return (
|
|
280
|
-
await asyncio_detailed(
|
|
281
|
-
graph_id=graph_id,
|
|
282
|
-
file_id=file_id,
|
|
283
|
-
client=client,
|
|
284
|
-
token=token,
|
|
285
|
-
authorization=authorization,
|
|
286
|
-
)
|
|
287
|
-
).parsed
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
from http import HTTPStatus
|
|
2
|
-
from typing import Any, Optional, Union, cast
|
|
3
|
-
|
|
4
|
-
import httpx
|
|
5
|
-
|
|
6
|
-
from ... import errors
|
|
7
|
-
from ...client import AuthenticatedClient, Client
|
|
8
|
-
from ...models.error_response import ErrorResponse
|
|
9
|
-
from ...models.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 import (
|
|
10
|
-
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
11
|
-
)
|
|
12
|
-
from ...models.http_validation_error import HTTPValidationError
|
|
13
|
-
from ...types import UNSET, Response, Unset
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
def _get_kwargs(
|
|
17
|
-
graph_id: str,
|
|
18
|
-
file_id: str,
|
|
19
|
-
*,
|
|
20
|
-
token: Union[None, Unset, str] = UNSET,
|
|
21
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
22
|
-
) -> dict[str, Any]:
|
|
23
|
-
headers: dict[str, Any] = {}
|
|
24
|
-
if not isinstance(authorization, Unset):
|
|
25
|
-
headers["authorization"] = authorization
|
|
26
|
-
|
|
27
|
-
params: dict[str, Any] = {}
|
|
28
|
-
|
|
29
|
-
json_token: Union[None, Unset, str]
|
|
30
|
-
if isinstance(token, Unset):
|
|
31
|
-
json_token = UNSET
|
|
32
|
-
else:
|
|
33
|
-
json_token = token
|
|
34
|
-
params["token"] = json_token
|
|
35
|
-
|
|
36
|
-
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
37
|
-
|
|
38
|
-
_kwargs: dict[str, Any] = {
|
|
39
|
-
"method": "get",
|
|
40
|
-
"url": f"/v1/graphs/{graph_id}/tables/files/{file_id}",
|
|
41
|
-
"params": params,
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
_kwargs["headers"] = headers
|
|
45
|
-
return _kwargs
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
def _parse_response(
|
|
49
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
50
|
-
) -> Optional[
|
|
51
|
-
Union[
|
|
52
|
-
Any,
|
|
53
|
-
ErrorResponse,
|
|
54
|
-
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
55
|
-
HTTPValidationError,
|
|
56
|
-
]
|
|
57
|
-
]:
|
|
58
|
-
if response.status_code == 200:
|
|
59
|
-
response_200 = GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet.from_dict(
|
|
60
|
-
response.json()
|
|
61
|
-
)
|
|
62
|
-
|
|
63
|
-
return response_200
|
|
64
|
-
|
|
65
|
-
if response.status_code == 401:
|
|
66
|
-
response_401 = cast(Any, None)
|
|
67
|
-
return response_401
|
|
68
|
-
|
|
69
|
-
if response.status_code == 403:
|
|
70
|
-
response_403 = ErrorResponse.from_dict(response.json())
|
|
71
|
-
|
|
72
|
-
return response_403
|
|
73
|
-
|
|
74
|
-
if response.status_code == 404:
|
|
75
|
-
response_404 = ErrorResponse.from_dict(response.json())
|
|
76
|
-
|
|
77
|
-
return response_404
|
|
78
|
-
|
|
79
|
-
if response.status_code == 422:
|
|
80
|
-
response_422 = HTTPValidationError.from_dict(response.json())
|
|
81
|
-
|
|
82
|
-
return response_422
|
|
83
|
-
|
|
84
|
-
if client.raise_on_unexpected_status:
|
|
85
|
-
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
86
|
-
else:
|
|
87
|
-
return None
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
def _build_response(
|
|
91
|
-
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
92
|
-
) -> Response[
|
|
93
|
-
Union[
|
|
94
|
-
Any,
|
|
95
|
-
ErrorResponse,
|
|
96
|
-
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
97
|
-
HTTPValidationError,
|
|
98
|
-
]
|
|
99
|
-
]:
|
|
100
|
-
return Response(
|
|
101
|
-
status_code=HTTPStatus(response.status_code),
|
|
102
|
-
content=response.content,
|
|
103
|
-
headers=response.headers,
|
|
104
|
-
parsed=_parse_response(client=client, response=response),
|
|
105
|
-
)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
def sync_detailed(
|
|
109
|
-
graph_id: str,
|
|
110
|
-
file_id: str,
|
|
111
|
-
*,
|
|
112
|
-
client: AuthenticatedClient,
|
|
113
|
-
token: Union[None, Unset, str] = UNSET,
|
|
114
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
115
|
-
) -> Response[
|
|
116
|
-
Union[
|
|
117
|
-
Any,
|
|
118
|
-
ErrorResponse,
|
|
119
|
-
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
120
|
-
HTTPValidationError,
|
|
121
|
-
]
|
|
122
|
-
]:
|
|
123
|
-
"""Get File Info
|
|
124
|
-
|
|
125
|
-
Get detailed information about a specific file
|
|
126
|
-
|
|
127
|
-
Args:
|
|
128
|
-
graph_id (str): Graph database identifier
|
|
129
|
-
file_id (str): File ID
|
|
130
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
131
|
-
authorization (Union[None, Unset, str]):
|
|
132
|
-
|
|
133
|
-
Raises:
|
|
134
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
135
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
136
|
-
|
|
137
|
-
Returns:
|
|
138
|
-
Response[Union[Any, ErrorResponse, GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet, HTTPValidationError]]
|
|
139
|
-
"""
|
|
140
|
-
|
|
141
|
-
kwargs = _get_kwargs(
|
|
142
|
-
graph_id=graph_id,
|
|
143
|
-
file_id=file_id,
|
|
144
|
-
token=token,
|
|
145
|
-
authorization=authorization,
|
|
146
|
-
)
|
|
147
|
-
|
|
148
|
-
response = client.get_httpx_client().request(
|
|
149
|
-
**kwargs,
|
|
150
|
-
)
|
|
151
|
-
|
|
152
|
-
return _build_response(client=client, response=response)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
def sync(
|
|
156
|
-
graph_id: str,
|
|
157
|
-
file_id: str,
|
|
158
|
-
*,
|
|
159
|
-
client: AuthenticatedClient,
|
|
160
|
-
token: Union[None, Unset, str] = UNSET,
|
|
161
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
162
|
-
) -> Optional[
|
|
163
|
-
Union[
|
|
164
|
-
Any,
|
|
165
|
-
ErrorResponse,
|
|
166
|
-
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
167
|
-
HTTPValidationError,
|
|
168
|
-
]
|
|
169
|
-
]:
|
|
170
|
-
"""Get File Info
|
|
171
|
-
|
|
172
|
-
Get detailed information about a specific file
|
|
173
|
-
|
|
174
|
-
Args:
|
|
175
|
-
graph_id (str): Graph database identifier
|
|
176
|
-
file_id (str): File ID
|
|
177
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
178
|
-
authorization (Union[None, Unset, str]):
|
|
179
|
-
|
|
180
|
-
Raises:
|
|
181
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
182
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
183
|
-
|
|
184
|
-
Returns:
|
|
185
|
-
Union[Any, ErrorResponse, GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet, HTTPValidationError]
|
|
186
|
-
"""
|
|
187
|
-
|
|
188
|
-
return sync_detailed(
|
|
189
|
-
graph_id=graph_id,
|
|
190
|
-
file_id=file_id,
|
|
191
|
-
client=client,
|
|
192
|
-
token=token,
|
|
193
|
-
authorization=authorization,
|
|
194
|
-
).parsed
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
async def asyncio_detailed(
|
|
198
|
-
graph_id: str,
|
|
199
|
-
file_id: str,
|
|
200
|
-
*,
|
|
201
|
-
client: AuthenticatedClient,
|
|
202
|
-
token: Union[None, Unset, str] = UNSET,
|
|
203
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
204
|
-
) -> Response[
|
|
205
|
-
Union[
|
|
206
|
-
Any,
|
|
207
|
-
ErrorResponse,
|
|
208
|
-
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
209
|
-
HTTPValidationError,
|
|
210
|
-
]
|
|
211
|
-
]:
|
|
212
|
-
"""Get File Info
|
|
213
|
-
|
|
214
|
-
Get detailed information about a specific file
|
|
215
|
-
|
|
216
|
-
Args:
|
|
217
|
-
graph_id (str): Graph database identifier
|
|
218
|
-
file_id (str): File ID
|
|
219
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
220
|
-
authorization (Union[None, Unset, str]):
|
|
221
|
-
|
|
222
|
-
Raises:
|
|
223
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
224
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
225
|
-
|
|
226
|
-
Returns:
|
|
227
|
-
Response[Union[Any, ErrorResponse, GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet, HTTPValidationError]]
|
|
228
|
-
"""
|
|
229
|
-
|
|
230
|
-
kwargs = _get_kwargs(
|
|
231
|
-
graph_id=graph_id,
|
|
232
|
-
file_id=file_id,
|
|
233
|
-
token=token,
|
|
234
|
-
authorization=authorization,
|
|
235
|
-
)
|
|
236
|
-
|
|
237
|
-
response = await client.get_async_httpx_client().request(**kwargs)
|
|
238
|
-
|
|
239
|
-
return _build_response(client=client, response=response)
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
async def asyncio(
|
|
243
|
-
graph_id: str,
|
|
244
|
-
file_id: str,
|
|
245
|
-
*,
|
|
246
|
-
client: AuthenticatedClient,
|
|
247
|
-
token: Union[None, Unset, str] = UNSET,
|
|
248
|
-
authorization: Union[None, Unset, str] = UNSET,
|
|
249
|
-
) -> Optional[
|
|
250
|
-
Union[
|
|
251
|
-
Any,
|
|
252
|
-
ErrorResponse,
|
|
253
|
-
GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
|
|
254
|
-
HTTPValidationError,
|
|
255
|
-
]
|
|
256
|
-
]:
|
|
257
|
-
"""Get File Info
|
|
258
|
-
|
|
259
|
-
Get detailed information about a specific file
|
|
260
|
-
|
|
261
|
-
Args:
|
|
262
|
-
graph_id (str): Graph database identifier
|
|
263
|
-
file_id (str): File ID
|
|
264
|
-
token (Union[None, Unset, str]): JWT token for SSE authentication
|
|
265
|
-
authorization (Union[None, Unset, str]):
|
|
266
|
-
|
|
267
|
-
Raises:
|
|
268
|
-
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
269
|
-
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
270
|
-
|
|
271
|
-
Returns:
|
|
272
|
-
Union[Any, ErrorResponse, GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet, HTTPValidationError]
|
|
273
|
-
"""
|
|
274
|
-
|
|
275
|
-
return (
|
|
276
|
-
await asyncio_detailed(
|
|
277
|
-
graph_id=graph_id,
|
|
278
|
-
file_id=file_id,
|
|
279
|
-
client=client,
|
|
280
|
-
token=token,
|
|
281
|
-
authorization=authorization,
|
|
282
|
-
)
|
|
283
|
-
).parsed
|