robosystems-client 0.2.2__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.

Files changed (34) hide show
  1. robosystems_client/api/query/execute_cypher_query.py +0 -5
  2. robosystems_client/api/tables/delete_file.py +437 -0
  3. robosystems_client/api/tables/get_file_info.py +397 -0
  4. robosystems_client/api/tables/get_upload_url.py +548 -0
  5. robosystems_client/api/tables/ingest_tables.py +616 -0
  6. robosystems_client/api/tables/list_table_files.py +509 -0
  7. robosystems_client/api/tables/list_tables.py +488 -0
  8. robosystems_client/api/tables/query_tables.py +487 -0
  9. robosystems_client/api/tables/update_file_status.py +539 -0
  10. robosystems_client/extensions/graph_client.py +5 -0
  11. robosystems_client/extensions/table_ingest_client.py +31 -40
  12. robosystems_client/models/__init__.py +13 -17
  13. robosystems_client/models/create_graph_request.py +11 -0
  14. 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
  15. robosystems_client/models/file_info.py +169 -0
  16. robosystems_client/models/file_status_update.py +41 -0
  17. robosystems_client/models/get_file_info_response.py +205 -0
  18. robosystems_client/models/list_table_files_response.py +105 -0
  19. 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
  20. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.3.dist-info}/METADATA +1 -1
  21. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.3.dist-info}/RECORD +23 -22
  22. robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +0 -287
  23. robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +0 -283
  24. robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +0 -260
  25. robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +0 -251
  26. robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +0 -283
  27. robosystems_client/api/tables/list_tables_v1_graphs_graph_id_tables_get.py +0 -224
  28. robosystems_client/api/tables/query_tables_v1_graphs_graph_id_tables_query_post.py +0 -247
  29. robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +0 -306
  30. robosystems_client/models/file_update_request.py +0 -62
  31. 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
  32. 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
  33. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.3.dist-info}/WHEEL +0 -0
  34. {robosystems_client-0.2.2.dist-info → robosystems_client-0.2.3.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,105 @@
1
+ from collections.abc import Mapping
2
+ from typing import TYPE_CHECKING, Any, TypeVar
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ if TYPE_CHECKING:
8
+ from ..models.file_info import FileInfo
9
+
10
+
11
+ T = TypeVar("T", bound="ListTableFilesResponse")
12
+
13
+
14
+ @_attrs_define
15
+ class ListTableFilesResponse:
16
+ """
17
+ Attributes:
18
+ graph_id (str): Graph database identifier
19
+ table_name (str): Table name
20
+ files (list['FileInfo']): List of files in the table
21
+ total_files (int): Total number of files
22
+ total_size_bytes (int): Total size of all files in bytes
23
+ """
24
+
25
+ graph_id: str
26
+ table_name: str
27
+ files: list["FileInfo"]
28
+ total_files: int
29
+ total_size_bytes: int
30
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
31
+
32
+ def to_dict(self) -> dict[str, Any]:
33
+ graph_id = self.graph_id
34
+
35
+ table_name = self.table_name
36
+
37
+ files = []
38
+ for files_item_data in self.files:
39
+ files_item = files_item_data.to_dict()
40
+ files.append(files_item)
41
+
42
+ total_files = self.total_files
43
+
44
+ total_size_bytes = self.total_size_bytes
45
+
46
+ field_dict: dict[str, Any] = {}
47
+ field_dict.update(self.additional_properties)
48
+ field_dict.update(
49
+ {
50
+ "graph_id": graph_id,
51
+ "table_name": table_name,
52
+ "files": files,
53
+ "total_files": total_files,
54
+ "total_size_bytes": total_size_bytes,
55
+ }
56
+ )
57
+
58
+ return field_dict
59
+
60
+ @classmethod
61
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
62
+ from ..models.file_info import FileInfo
63
+
64
+ d = dict(src_dict)
65
+ graph_id = d.pop("graph_id")
66
+
67
+ table_name = d.pop("table_name")
68
+
69
+ files = []
70
+ _files = d.pop("files")
71
+ for files_item_data in _files:
72
+ files_item = FileInfo.from_dict(files_item_data)
73
+
74
+ files.append(files_item)
75
+
76
+ total_files = d.pop("total_files")
77
+
78
+ total_size_bytes = d.pop("total_size_bytes")
79
+
80
+ list_table_files_response = cls(
81
+ graph_id=graph_id,
82
+ table_name=table_name,
83
+ files=files,
84
+ total_files=total_files,
85
+ total_size_bytes=total_size_bytes,
86
+ )
87
+
88
+ list_table_files_response.additional_properties = d
89
+ return list_table_files_response
90
+
91
+ @property
92
+ def additional_keys(self) -> list[str]:
93
+ return list(self.additional_properties.keys())
94
+
95
+ def __getitem__(self, key: str) -> Any:
96
+ return self.additional_properties[key]
97
+
98
+ def __setitem__(self, key: str, value: Any) -> None:
99
+ self.additional_properties[key] = value
100
+
101
+ def __delitem__(self, key: str) -> None:
102
+ del self.additional_properties[key]
103
+
104
+ def __contains__(self, key: str) -> bool:
105
+ return key in self.additional_properties
@@ -4,14 +4,11 @@ from typing import Any, TypeVar
4
4
  from attrs import define as _attrs_define
5
5
  from attrs import field as _attrs_field
6
6
 
7
- T = TypeVar(
8
- "T",
9
- bound="GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet",
10
- )
7
+ T = TypeVar("T", bound="UpdateFileStatusResponseUpdatefilestatus")
11
8
 
12
9
 
13
10
  @_attrs_define
14
- class GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet:
11
+ class UpdateFileStatusResponseUpdatefilestatus:
15
12
  """ """
16
13
 
17
14
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
@@ -25,10 +22,10 @@ class GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsG
25
22
  @classmethod
26
23
  def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
27
24
  d = dict(src_dict)
28
- 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 = cls()
25
+ update_file_status_response_updatefilestatus = cls()
29
26
 
30
- 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.additional_properties = d
31
- return 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
27
+ update_file_status_response_updatefilestatus.additional_properties = d
28
+ return update_file_status_response_updatefilestatus
32
29
 
33
30
  @property
34
31
  def additional_keys(self) -> list[str]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robosystems-client
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Python Client for RoboSystems financial graph database API
5
5
  Author: RFS LLC
6
6
  License: MIT
@@ -79,7 +79,7 @@ robosystems_client/api/operations/cancel_operation.py,sha256=3IiKfMfSANQS_inSg9a
79
79
  robosystems_client/api/operations/get_operation_status.py,sha256=r77igqYIVW9x34tlNFiWrueXGYzfTrNJ3Bsb-qb7urI,8513
80
80
  robosystems_client/api/operations/stream_operation_events.py,sha256=1pl-BNZSaNynIKwaT03U8WXEbL_B5KOPSZuEb1vS4CM,14042
81
81
  robosystems_client/api/query/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
82
- robosystems_client/api/query/execute_cypher_query.py,sha256=FgXjAjj9_sXFxpNuflQ9mmKVSJzdQr509AlsEdp41hk,18410
82
+ robosystems_client/api/query/execute_cypher_query.py,sha256=CZrjL8jYsd_OCYF8zDJfZlI_5ERD13mhXtIrW1reEOY,18069
83
83
  robosystems_client/api/schema/__init__.py,sha256=5vd9uJWAjRqa9xzxzYkLD1yoZ12Ld_bAaNB5WX4fbE8,56
84
84
  robosystems_client/api/schema/export_graph_schema.py,sha256=rcx9UzQHTaTQCUEUI2HIqJ5fj_n8L096-8awrt4qfa8,7589
85
85
  robosystems_client/api/schema/get_graph_schema.py,sha256=a86EAFzysQdjowI4eJF25MeRVicc3IEQSZi-3Dl16jA,8503
@@ -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/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py,sha256=MtyV3J_U90BN-pMNHv1yZmQXOaO-men-ska9RkG6gX4,8195
99
- robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py,sha256=j1rKg9ScjGIi6ko04XasBj2AE8rVzLdnrXswcLEfmMQ,7910
100
- robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py,sha256=tbd2QbXoPzElEPzV6cgbEErSG8lWrh6dnXnEfMvp52E,7397
101
- robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py,sha256=sESnVCSV9Dm4nSlP0FL7OW1Iw6WxRmkb0np6dWfsg3c,7568
102
- robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py,sha256=tupt_CSSW0NAVECrusqQ1LfWqBuVYMca-LqAuBe0KCI,8140
103
- robosystems_client/api/tables/list_tables_v1_graphs_graph_id_tables_get.py,sha256=IqMMJNZvmSGjiXF-pjnfVqqg0qvXZlt4sMbyReqyHUY,6350
104
- robosystems_client/api/tables/query_tables_v1_graphs_graph_id_tables_query_post.py,sha256=3VKKgiqYoRtS3y8J4gZ-UD5pgRGDF0k6Ma8VQa4Jeec,7007
105
- robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py,sha256=D9PFdnAn1VCdDGINdGJmUynvyJOtANYSewK9N9QcjRs,8673
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
@@ -132,11 +132,11 @@ robosystems_client/extensions/__init__.py,sha256=BH2VcEDBL8-HcT-nmwmEPUveRxoWVTE
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
134
  robosystems_client/extensions/extensions.py,sha256=ROnCobUek4Dke9dVx2sTzNKhz309NOG40EDSYHtNmWs,6257
135
- robosystems_client/extensions/graph_client.py,sha256=GwsFwETti6xxrQbqk7C_ckxZAVhMO05DrS-qACacLfk,10012
135
+ robosystems_client/extensions/graph_client.py,sha256=OBi0xj0SLIRKLeSu_DiGt2ZakCmhggvNrMP3jdRfEgQ,10326
136
136
  robosystems_client/extensions/operation_client.py,sha256=B1qju-wWQrnrnVJixKGgsA_KEInviwJwdlJxzm_i7P0,13359
137
137
  robosystems_client/extensions/query_client.py,sha256=NVaoTrYzSdR_pzrSwi8AsZ7WaUi7yTAcN9eJ5HFeFa8,16885
138
138
  robosystems_client/extensions/sse_client.py,sha256=fWO6EPiLmS3LJ8iph5wup57ldtHSLBkDoiAPfBNNCyk,15048
139
- robosystems_client/extensions/table_ingest_client.py,sha256=MyCnBAijFlkWY88dY4CJkouY0w5d4D3cxftw_wmSt60,12790
139
+ robosystems_client/extensions/table_ingest_client.py,sha256=g0khPA1kdDk7eRTrCgsSSgWY3c5B-sFMKAGxv0ueoB0,12679
140
140
  robosystems_client/extensions/token_utils.py,sha256=qCK_s1vBzRnSYwtgncPZRLJVIw3WXmzqNTWjdEEpdgs,10899
141
141
  robosystems_client/extensions/utils.py,sha256=t-vUeVSmus6tcSa6mpKWmtGyZqYB51_CqgUIYyTfqXw,16183
142
142
  robosystems_client/extensions/tests/__init__.py,sha256=S61GPbL-2pgLVe11uHwHLenpIpzyywWXzXqJypr0T3Q,46
@@ -144,7 +144,7 @@ robosystems_client/extensions/tests/test_dataframe_utils.py,sha256=g184mdEMSkFt6
144
144
  robosystems_client/extensions/tests/test_integration.py,sha256=DszEH9-CJ-d5KB2NNNY9BZMT8f3A_Z-MLXYW5WfVeRk,15446
145
145
  robosystems_client/extensions/tests/test_token_utils.py,sha256=CsrpW771pLRrdQoM91oJ9_B33SB3YTno4_OPog6mIgo,8424
146
146
  robosystems_client/extensions/tests/test_unit.py,sha256=REnfMGpgH-FS-n860-3qXEUqAxZ7zbci-nIDPYuB7Tw,16712
147
- robosystems_client/models/__init__.py,sha256=sTG9PHZSM2EKXNcbwtWbKoZyg0El_fvVaV73bKDIzsw,20900
147
+ robosystems_client/models/__init__.py,sha256=1ywX7D-0UcmkRWsvWfhtb6SSWK9q6DpZIIXIpvSZVDM,19885
148
148
  robosystems_client/models/account_info.py,sha256=rcENAioMA3olA3Sks5raIqeODqRgrmFuiFhwzLunrGI,2054
149
149
  robosystems_client/models/add_on_credit_info.py,sha256=h65KAb8yZP_SGpsB2Ref4IaBCthEDYJgFGTd9PjUpfs,3221
150
150
  robosystems_client/models/agent_list_response.py,sha256=68PkLJ3goUZlm8WZ4HOjlWLZrPYKwJQ6PTPm2ZNRmBM,1873
@@ -193,7 +193,7 @@ robosystems_client/models/create_api_key_request.py,sha256=aP-X8CtffeRUXDqG-WzM4
193
193
  robosystems_client/models/create_api_key_response.py,sha256=9cqlZDogqxdSXxxHT6PnfClTP-Q35CvfQjNIvPEe1Pw,1797
194
194
  robosystems_client/models/create_connection_request.py,sha256=B9riNF1QK1P3RB680lFAJGsZtYbPHVc14u1TBnIv0QQ,5948
195
195
  robosystems_client/models/create_connection_request_provider.py,sha256=TBZm3ApK31i1jit4WUxqtFtJq-LYKqXeVAHJIJh9Slw,190
196
- robosystems_client/models/create_graph_request.py,sha256=u6bpRJYaYOCgSGKRM6yp-DEV4O27O1pvE3QvsWH2aX8,5585
196
+ robosystems_client/models/create_graph_request.py,sha256=oRz6wseANZRbU8COG8AsSso6Oj26TgvZuXRRWxUAGKs,6126
197
197
  robosystems_client/models/create_subgraph_request.py,sha256=upBIPF4MIrawR_fAodpo4ts9sinq7FyDT2VyfR_uCp8,5777
198
198
  robosystems_client/models/create_subgraph_request_metadata_type_0.py,sha256=dqVIzDSjIeTsKLCC7pmJAik2eJPIyi_6uTHzkspU37M,1257
199
199
  robosystems_client/models/credit_summary.py,sha256=TaK9e6Jp7yqWMtBDVfB2bL7mlTw87Qwf1_foausmQwI,4802
@@ -208,7 +208,7 @@ robosystems_client/models/cypher_query_request.py,sha256=Y40qJmtFszBPkKw1VhezR0G
208
208
  robosystems_client/models/cypher_query_request_parameters_type_0.py,sha256=I8QFYojTUqvgSeiS2uP79PQQfqulTB89OyXXgYbl3Cc,1252
209
209
  robosystems_client/models/database_health_response.py,sha256=LdvO6aVSUiEej3vyshiu6zoP_FcgbJmpCll0g-aNci0,5631
210
210
  robosystems_client/models/database_info_response.py,sha256=lj1MUSUzLq5WNJyxXU6g5M7RrPOBPSffR25WUp0EjXc,5652
211
- 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,sha256=9pi7uDQ5TKS60FO2guKX053lSw-IvHIJ4Sz4oM3NpA8,1665
211
+ robosystems_client/models/delete_file_response.py,sha256=YjE5V88BcMdFXlMEeCJzUJC1Q5TCdJZgXTmeIopJjuA,1900
212
212
  robosystems_client/models/delete_subgraph_request.py,sha256=F0UVznC5pUnwhX2zZWyPdSxpwtrj-jZIVmnTKCgjDNI,2682
213
213
  robosystems_client/models/delete_subgraph_response.py,sha256=zPgaUcaqzwmaxEFwok2c3OLCEe1YT4-mnckD_Lr-Nd4,3340
214
214
  robosystems_client/models/detailed_transactions_response.py,sha256=gNvssogFCR4cK54swZMpHhUOHhRLTwiUlI0oZpVwj9g,3660
@@ -220,7 +220,8 @@ robosystems_client/models/enhanced_credit_transaction_response_metadata.py,sha25
220
220
  robosystems_client/models/error_response.py,sha256=Kc97dTQxR9jANL-MOPwnE4voKA1O0X3qkx_jeY9k-BU,4111
221
221
  robosystems_client/models/exchange_token_request.py,sha256=76zVpSXbbuJpMAnf_rRT0EjpxH1PZD9nFLJK8i6cn6E,3290
222
222
  robosystems_client/models/exchange_token_request_metadata_type_0.py,sha256=4ndzrJRefnYO_ikDiySWS2aHBNFCG5Y2SF-bHF_jPYw,1252
223
- robosystems_client/models/file_update_request.py,sha256=U6gy_LsTAXk0QUAA2hShjlBnqU9vV4Hea3YZ5ZousGg,1491
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
224
225
  robosystems_client/models/file_upload_request.py,sha256=7loA-BBy69IKVIcyeTDhnFrBx_sibNfnHXthaJpnL0M,1122
225
226
  robosystems_client/models/file_upload_response.py,sha256=_qgC8LcVEjpDA4S2_zCbi9BedS2a0uobB5VbNKEnpyc,1958
226
227
  robosystems_client/models/forgot_password_request.py,sha256=jgJf6E-4cun0vbm1LFPN-bC8HejoeJq6NVgWhGVn7Lg,1440
@@ -230,7 +231,7 @@ robosystems_client/models/get_all_shared_repository_limits_response_getallshared
230
231
  robosystems_client/models/get_backup_download_url_response_getbackupdownloadurl.py,sha256=dDqOgolFduHyRXl5y5q9zH0_y4GuDGq-wwQUA9pl0X0,1327
231
232
  robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py,sha256=QbLg6o9w0UQs2npB27r2lLfWi9uAe4cjmN0srszTKDE,1307
232
233
  robosystems_client/models/get_current_graph_bill_response_getcurrentgraphbill.py,sha256=PjfVnVwWG6BEBWEjb5kvN5XYtC2uTc5h4OIKPmZv-Gc,1317
233
- 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,sha256=wd9pMhbggeYTeIfqpJ89hjvV33NNr_B8p_yMDaiSsKA,1651
234
+ robosystems_client/models/get_file_info_response.py,sha256=b9EWhA-zVBlbaw3lChETnNiLpCmGecv_RVjUb3ZF8Ig,5624
234
235
  robosystems_client/models/get_graph_billing_history_response_getgraphbillinghistory.py,sha256=IyBAkkk8vtqQx9Twif1J7iG-9iaeuMm1W_75E7pzM-A,1347
235
236
  robosystems_client/models/get_graph_limits_response_getgraphlimits.py,sha256=ekkBGt3Pybn7-xZIhth_uBGhyiTvWRxHbXRPBSX0ms0,1264
236
237
  robosystems_client/models/get_graph_monthly_bill_response_getgraphmonthlybill.py,sha256=q1k4zEtQmcBpgz_vz9B26Deu4qT4evEsAiRoTpmcw0w,1317
@@ -259,7 +260,7 @@ robosystems_client/models/link_token_request_options_type_0.py,sha256=WjW-JluLY0
259
260
  robosystems_client/models/link_token_request_provider_type_0.py,sha256=N2wRX99ghudXH6qC8HX9MUgUrwFRCzasoQSg74UCHZo,188
260
261
  robosystems_client/models/list_connections_provider_type_0.py,sha256=Mmteiaom76sOnidak7Y1zY4UemEbnM_3BnfbkFUUVv0,187
261
262
  robosystems_client/models/list_subgraphs_response.py,sha256=PsavKzFwdPfM_4ZeX5-NcWo8K-x0KaFT7y4y_Zf7J98,4498
262
- 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,sha256=Sv3v_W0CnBNYEKUK3LtCM_4hgxDObG5Nvcu9vhMUAgg,1711
263
+ robosystems_client/models/list_table_files_response.py,sha256=3ozQqPez4EFBm2T1mrPu0dCpGck0zuthTdg8wmeeSms,2654
263
264
  robosystems_client/models/login_request.py,sha256=bWvQYg7jPbtE__tVOqPKqGYx7Yzex2hPfOm2fJZjvLU,1543
264
265
  robosystems_client/models/logout_user_response_logoutuser.py,sha256=UGr9RnAP7Db-T5JLbH6R6CZjZaENzIX6iW31nxBAIBI,1221
265
266
  robosystems_client/models/mcp_tool_call.py,sha256=--2c-SyQb1XxZNMTcb8VWZ_ldomBp3zefuirUybIwWQ,2212
@@ -324,7 +325,7 @@ robosystems_client/models/table_query_response.py,sha256=Y9zUSm1BPRfJEN_SP6lIZIQ
324
325
  robosystems_client/models/tier_upgrade_request.py,sha256=uSF_CpTLwlj6jTO7a9yCbboBGvuzJOIgyVjJYVNc6t4,1567
325
326
  robosystems_client/models/transaction_summary_response.py,sha256=MSQYuOharoRpBilqmpKo_Dxv39QLjJ0g5oY9NYsCQNA,3714
326
327
  robosystems_client/models/update_api_key_request.py,sha256=fQVFQnUSIRDcBkCZP6ObAdVjIReaYuqSS3eliNSt59c,2527
327
- 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,sha256=cpo_4UL6Vnu7YtJy9OS_e2O9zvXkKvsknGlN3SVzjUM,1655
328
+ robosystems_client/models/update_file_status_response_updatefilestatus.py,sha256=CnUPFGrufD3EMGXpqCX9Xa8dyY0ZZfb6B5Ke2Ktqiuk,1284
328
329
  robosystems_client/models/update_password_request.py,sha256=3YwCzOJwE3WYpv05JwVBpwL71GCsj1fMLngxuEsXtpE,2013
329
330
  robosystems_client/models/update_user_request.py,sha256=DLN_cfsk24jG34v66YedfJ1N26wvueoXVTTi8Bd4mcQ,2420
330
331
  robosystems_client/models/user_analytics_response.py,sha256=M89LNcZ6x2p0WY1NTKs9mu2o1ql-ubdr5RFZnQVCXnM,4423
@@ -343,7 +344,7 @@ robosystems_client/models/user_usage_response_graphs.py,sha256=xAH-ZnhaUfWQ_2EpZ
343
344
  robosystems_client/models/user_usage_summary_response.py,sha256=4hthwTH7bXyzdYlHoekDYOgDLI-stGRH507Bl2rUjYA,3655
344
345
  robosystems_client/models/user_usage_summary_response_usage_vs_limits.py,sha256=XrZnRcy1nD3xtKX4svbww7QfEHrN7_XIfeL9j5ZMbyQ,1298
345
346
  robosystems_client/models/validation_error.py,sha256=R77OuQG2nJ3WDFfY--xbEhg6x1D7gAAp_1UdnG8Ka2A,1949
346
- robosystems_client-0.2.2.dist-info/METADATA,sha256=qMZLxDrWEKUYi1o1EDIr1zPQVuMIzkw61hBupaUEP-M,3959
347
- robosystems_client-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
348
- robosystems_client-0.2.2.dist-info/licenses/LICENSE,sha256=LjFqQPU4eQh7jAQ04SmE9eC0j74HCdXvzbo0hjW4mWo,1063
349
- robosystems_client-0.2.2.dist-info/RECORD,,
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