deeporigin-data-sdk 0.1.0a31__py3-none-any.whl → 0.1.0a33__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.
@@ -16,13 +16,16 @@ from .types import (
16
16
  client_delete_rows_params,
17
17
  client_ensure_rows_params,
18
18
  client_import_rows_params,
19
+ client_resolve_ids_params,
19
20
  client_describe_row_params,
20
21
  client_archive_files_params,
21
22
  client_describe_file_params,
23
+ client_download_file_params,
22
24
  client_list_mentions_params,
23
25
  client_lock_database_params,
24
26
  client_create_database_params,
25
27
  client_delete_database_params,
28
+ client_export_database_params,
26
29
  client_unlock_database_params,
27
30
  client_update_database_params,
28
31
  client_create_workspace_params,
@@ -35,10 +38,12 @@ from .types import (
35
38
  client_chat_create_thread_params,
36
39
  client_chat_list_messages_params,
37
40
  client_create_file_upload_params,
41
+ client_describe_hierarchy_params,
38
42
  client_describe_workspace_params,
39
43
  client_execute_code_async_params,
40
44
  client_list_database_rows_params,
41
45
  client_add_database_column_params,
46
+ client_describe_database_row_params,
42
47
  client_delete_database_column_params,
43
48
  client_update_database_column_params,
44
49
  client_describe_code_execution_params,
@@ -71,10 +76,18 @@ from ._utils import (
71
76
  )
72
77
  from ._version import __version__
73
78
  from ._response import (
79
+ BinaryAPIResponse,
80
+ AsyncBinaryAPIResponse,
81
+ StreamedBinaryAPIResponse,
82
+ AsyncStreamedBinaryAPIResponse,
74
83
  to_raw_response_wrapper,
75
84
  to_streamed_response_wrapper,
76
85
  async_to_raw_response_wrapper,
86
+ to_custom_raw_response_wrapper,
77
87
  async_to_streamed_response_wrapper,
88
+ to_custom_streamed_response_wrapper,
89
+ async_to_custom_raw_response_wrapper,
90
+ async_to_custom_streamed_response_wrapper,
78
91
  )
79
92
  from ._streaming import Stream as Stream, AsyncStream as AsyncStream
80
93
  from ._exceptions import APIStatusError, DeeporiginDataError
@@ -89,6 +102,7 @@ from .types.list_files_response import ListFilesResponse
89
102
  from .types.delete_rows_response import DeleteRowsResponse
90
103
  from .types.ensure_rows_response import EnsureRowsResponse
91
104
  from .types.import_rows_response import ImportRowsResponse
105
+ from .types.resolve_ids_response import ResolveIDsResponse
92
106
  from .types.describe_file_response import DescribeFileResponse
93
107
  from .types.list_mentions_response import ListMentionsResponse
94
108
  from .types.lock_database_response import LockDatabaseResponse
@@ -105,11 +119,13 @@ from .types.execute_code_sync_response import ExecuteCodeSyncResponse
105
119
  from .types.chat_create_thread_response import ChatCreateThreadResponse
106
120
  from .types.chat_list_messages_response import ChatListMessagesResponse
107
121
  from .types.create_file_upload_response import CreateFileUploadResponse
122
+ from .types.describe_hierarchy_response import DescribeHierarchyResponse
108
123
  from .types.describe_workspace_response import DescribeWorkspaceResponse
109
124
  from .types.execute_code_async_response import ExecuteCodeAsyncResponse
110
125
  from .types.list_database_rows_response import ListDatabaseRowsResponse
111
126
  from .types.add_database_column_response import AddDatabaseColumnResponse
112
127
  from .types.shared.describe_row_response import DescribeRowResponse
128
+ from .types.describe_database_row_response import DescribeDatabaseRowResponse
113
129
  from .types.delete_database_column_response import DeleteDatabaseColumnResponse
114
130
  from .types.update_database_column_response import UpdateDatabaseColumnResponse
115
131
  from .types.describe_code_execution_response import DescribeCodeExecutionResponse
@@ -902,6 +918,49 @@ class DeeporiginData(SyncAPIClient):
902
918
  cast_to=DescribeDatabaseResponse,
903
919
  )
904
920
 
921
+ def describe_database_row(
922
+ self,
923
+ *,
924
+ row_id: str,
925
+ column_selection: client_describe_database_row_params.ColumnSelection | NotGiven = NOT_GIVEN,
926
+ database_id: str | NotGiven = NOT_GIVEN,
927
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
928
+ # The extra values given here take precedence over values defined on the client or passed to this method.
929
+ extra_headers: Headers | None = None,
930
+ extra_query: Query | None = None,
931
+ extra_body: Body | None = None,
932
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
933
+ ) -> DescribeDatabaseRowResponse:
934
+ """
935
+ Describe a database row
936
+
937
+ Args:
938
+ column_selection: Select columns for inclusion/exclusion.
939
+
940
+ extra_headers: Send extra headers
941
+
942
+ extra_query: Add additional query parameters to the request
943
+
944
+ extra_body: Add additional JSON properties to the request
945
+
946
+ timeout: Override the client-level default timeout for this request, in seconds
947
+ """
948
+ return self.post(
949
+ "/DescribeDatabaseRow",
950
+ body=maybe_transform(
951
+ {
952
+ "row_id": row_id,
953
+ "column_selection": column_selection,
954
+ "database_id": database_id,
955
+ },
956
+ client_describe_database_row_params.ClientDescribeDatabaseRowParams,
957
+ ),
958
+ options=make_request_options(
959
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
960
+ ),
961
+ cast_to=DescribeDatabaseRowResponse,
962
+ )
963
+
905
964
  def describe_database_stats(
906
965
  self,
907
966
  *,
@@ -970,6 +1029,47 @@ class DeeporiginData(SyncAPIClient):
970
1029
  cast_to=DescribeFileResponse,
971
1030
  )
972
1031
 
1032
+ def describe_hierarchy(
1033
+ self,
1034
+ *,
1035
+ id: str,
1036
+ type: Literal["database", "row", "workspace"],
1037
+ database_id: str | NotGiven = NOT_GIVEN,
1038
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1039
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1040
+ extra_headers: Headers | None = None,
1041
+ extra_query: Query | None = None,
1042
+ extra_body: Body | None = None,
1043
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1044
+ ) -> DescribeHierarchyResponse:
1045
+ """
1046
+ Describe the hierarchical position of an entity.
1047
+
1048
+ Args:
1049
+ extra_headers: Send extra headers
1050
+
1051
+ extra_query: Add additional query parameters to the request
1052
+
1053
+ extra_body: Add additional JSON properties to the request
1054
+
1055
+ timeout: Override the client-level default timeout for this request, in seconds
1056
+ """
1057
+ return self.post(
1058
+ "/DescribeHierarchy",
1059
+ body=maybe_transform(
1060
+ {
1061
+ "id": id,
1062
+ "type": type,
1063
+ "database_id": database_id,
1064
+ },
1065
+ client_describe_hierarchy_params.ClientDescribeHierarchyParams,
1066
+ ),
1067
+ options=make_request_options(
1068
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1069
+ ),
1070
+ cast_to=DescribeHierarchyResponse,
1071
+ )
1072
+
973
1073
  def describe_row(
974
1074
  self,
975
1075
  *,
@@ -1052,6 +1152,7 @@ class DeeporiginData(SyncAPIClient):
1052
1152
  def download_file(
1053
1153
  self,
1054
1154
  *,
1155
+ file_id: str,
1055
1156
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1056
1157
  # The extra values given here take precedence over values defined on the client or passed to this method.
1057
1158
  extra_headers: Headers | None = None,
@@ -1059,12 +1160,29 @@ class DeeporiginData(SyncAPIClient):
1059
1160
  extra_body: Body | None = None,
1060
1161
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1061
1162
  ) -> None:
1062
- """Returns a 303 redirect to a pre-signed S3 URL."""
1163
+ """
1164
+ Returns a 303 redirect to a pre-signed S3 URL.
1165
+
1166
+ Args:
1167
+ file_id: Deep Origin system ID.
1168
+
1169
+ extra_headers: Send extra headers
1170
+
1171
+ extra_query: Add additional query parameters to the request
1172
+
1173
+ extra_body: Add additional JSON properties to the request
1174
+
1175
+ timeout: Override the client-level default timeout for this request, in seconds
1176
+ """
1063
1177
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
1064
1178
  return self.get(
1065
1179
  "/DownloadFile",
1066
1180
  options=make_request_options(
1067
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1181
+ extra_headers=extra_headers,
1182
+ extra_query=extra_query,
1183
+ extra_body=extra_body,
1184
+ timeout=timeout,
1185
+ query=maybe_transform({"file_id": file_id}, client_download_file_params.ClientDownloadFileParams),
1068
1186
  ),
1069
1187
  cast_to=NoneType,
1070
1188
  )
@@ -1190,6 +1308,56 @@ class DeeporiginData(SyncAPIClient):
1190
1308
  cast_to=ExecuteCodeSyncResponse,
1191
1309
  )
1192
1310
 
1311
+ def export_database(
1312
+ self,
1313
+ *,
1314
+ database_id: str,
1315
+ format: Literal["csv"],
1316
+ column_selection: client_export_database_params.ColumnSelection | NotGiven = NOT_GIVEN,
1317
+ filter: client_export_database_params.Filter | NotGiven = NOT_GIVEN,
1318
+ row_sort: Iterable[client_export_database_params.RowSort] | NotGiven = NOT_GIVEN,
1319
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1320
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1321
+ extra_headers: Headers | None = None,
1322
+ extra_query: Query | None = None,
1323
+ extra_body: Body | None = None,
1324
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1325
+ ) -> BinaryAPIResponse:
1326
+ """
1327
+ Exports a database to a file.
1328
+
1329
+ Args:
1330
+ column_selection: Select columns for inclusion/exclusion.
1331
+
1332
+ row_sort: Sort rows by column.
1333
+
1334
+ extra_headers: Send extra headers
1335
+
1336
+ extra_query: Add additional query parameters to the request
1337
+
1338
+ extra_body: Add additional JSON properties to the request
1339
+
1340
+ timeout: Override the client-level default timeout for this request, in seconds
1341
+ """
1342
+ extra_headers = {"Accept": "application/octet-stream", **(extra_headers or {})}
1343
+ return self.post(
1344
+ "/ExportDatabase",
1345
+ body=maybe_transform(
1346
+ {
1347
+ "database_id": database_id,
1348
+ "format": format,
1349
+ "column_selection": column_selection,
1350
+ "filter": filter,
1351
+ "row_sort": row_sort,
1352
+ },
1353
+ client_export_database_params.ClientExportDatabaseParams,
1354
+ ),
1355
+ options=make_request_options(
1356
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1357
+ ),
1358
+ cast_to=BinaryAPIResponse,
1359
+ )
1360
+
1193
1361
  def get_code_execution_result(
1194
1362
  self,
1195
1363
  *,
@@ -1562,6 +1730,47 @@ class DeeporiginData(SyncAPIClient):
1562
1730
  cast_to=ParseBaseSequenceDataResponse,
1563
1731
  )
1564
1732
 
1733
+ def resolve_ids(
1734
+ self,
1735
+ *,
1736
+ database_ids: List[str] | NotGiven = NOT_GIVEN,
1737
+ rows: Iterable[client_resolve_ids_params.Row] | NotGiven = NOT_GIVEN,
1738
+ workspace_ids: List[str] | NotGiven = NOT_GIVEN,
1739
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1740
+ # The extra values given here take precedence over values defined on the client or passed to this method.
1741
+ extra_headers: Headers | None = None,
1742
+ extra_query: Query | None = None,
1743
+ extra_body: Body | None = None,
1744
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
1745
+ ) -> ResolveIDsResponse:
1746
+ """
1747
+ Resolves between system IDs and human IDs (HIDs).
1748
+
1749
+ Args:
1750
+ extra_headers: Send extra headers
1751
+
1752
+ extra_query: Add additional query parameters to the request
1753
+
1754
+ extra_body: Add additional JSON properties to the request
1755
+
1756
+ timeout: Override the client-level default timeout for this request, in seconds
1757
+ """
1758
+ return self.post(
1759
+ "/ResolveIds",
1760
+ body=maybe_transform(
1761
+ {
1762
+ "database_ids": database_ids,
1763
+ "rows": rows,
1764
+ "workspace_ids": workspace_ids,
1765
+ },
1766
+ client_resolve_ids_params.ClientResolveIDsParams,
1767
+ ),
1768
+ options=make_request_options(
1769
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1770
+ ),
1771
+ cast_to=ResolveIDsResponse,
1772
+ )
1773
+
1565
1774
  def unlock_database(
1566
1775
  self,
1567
1776
  *,
@@ -2526,6 +2735,49 @@ class AsyncDeeporiginData(AsyncAPIClient):
2526
2735
  cast_to=DescribeDatabaseResponse,
2527
2736
  )
2528
2737
 
2738
+ async def describe_database_row(
2739
+ self,
2740
+ *,
2741
+ row_id: str,
2742
+ column_selection: client_describe_database_row_params.ColumnSelection | NotGiven = NOT_GIVEN,
2743
+ database_id: str | NotGiven = NOT_GIVEN,
2744
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
2745
+ # The extra values given here take precedence over values defined on the client or passed to this method.
2746
+ extra_headers: Headers | None = None,
2747
+ extra_query: Query | None = None,
2748
+ extra_body: Body | None = None,
2749
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
2750
+ ) -> DescribeDatabaseRowResponse:
2751
+ """
2752
+ Describe a database row
2753
+
2754
+ Args:
2755
+ column_selection: Select columns for inclusion/exclusion.
2756
+
2757
+ extra_headers: Send extra headers
2758
+
2759
+ extra_query: Add additional query parameters to the request
2760
+
2761
+ extra_body: Add additional JSON properties to the request
2762
+
2763
+ timeout: Override the client-level default timeout for this request, in seconds
2764
+ """
2765
+ return await self.post(
2766
+ "/DescribeDatabaseRow",
2767
+ body=await async_maybe_transform(
2768
+ {
2769
+ "row_id": row_id,
2770
+ "column_selection": column_selection,
2771
+ "database_id": database_id,
2772
+ },
2773
+ client_describe_database_row_params.ClientDescribeDatabaseRowParams,
2774
+ ),
2775
+ options=make_request_options(
2776
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
2777
+ ),
2778
+ cast_to=DescribeDatabaseRowResponse,
2779
+ )
2780
+
2529
2781
  async def describe_database_stats(
2530
2782
  self,
2531
2783
  *,
@@ -2596,6 +2848,47 @@ class AsyncDeeporiginData(AsyncAPIClient):
2596
2848
  cast_to=DescribeFileResponse,
2597
2849
  )
2598
2850
 
2851
+ async def describe_hierarchy(
2852
+ self,
2853
+ *,
2854
+ id: str,
2855
+ type: Literal["database", "row", "workspace"],
2856
+ database_id: str | NotGiven = NOT_GIVEN,
2857
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
2858
+ # The extra values given here take precedence over values defined on the client or passed to this method.
2859
+ extra_headers: Headers | None = None,
2860
+ extra_query: Query | None = None,
2861
+ extra_body: Body | None = None,
2862
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
2863
+ ) -> DescribeHierarchyResponse:
2864
+ """
2865
+ Describe the hierarchical position of an entity.
2866
+
2867
+ Args:
2868
+ extra_headers: Send extra headers
2869
+
2870
+ extra_query: Add additional query parameters to the request
2871
+
2872
+ extra_body: Add additional JSON properties to the request
2873
+
2874
+ timeout: Override the client-level default timeout for this request, in seconds
2875
+ """
2876
+ return await self.post(
2877
+ "/DescribeHierarchy",
2878
+ body=await async_maybe_transform(
2879
+ {
2880
+ "id": id,
2881
+ "type": type,
2882
+ "database_id": database_id,
2883
+ },
2884
+ client_describe_hierarchy_params.ClientDescribeHierarchyParams,
2885
+ ),
2886
+ options=make_request_options(
2887
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
2888
+ ),
2889
+ cast_to=DescribeHierarchyResponse,
2890
+ )
2891
+
2599
2892
  async def describe_row(
2600
2893
  self,
2601
2894
  *,
@@ -2678,6 +2971,7 @@ class AsyncDeeporiginData(AsyncAPIClient):
2678
2971
  async def download_file(
2679
2972
  self,
2680
2973
  *,
2974
+ file_id: str,
2681
2975
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
2682
2976
  # The extra values given here take precedence over values defined on the client or passed to this method.
2683
2977
  extra_headers: Headers | None = None,
@@ -2685,12 +2979,31 @@ class AsyncDeeporiginData(AsyncAPIClient):
2685
2979
  extra_body: Body | None = None,
2686
2980
  timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
2687
2981
  ) -> None:
2688
- """Returns a 303 redirect to a pre-signed S3 URL."""
2982
+ """
2983
+ Returns a 303 redirect to a pre-signed S3 URL.
2984
+
2985
+ Args:
2986
+ file_id: Deep Origin system ID.
2987
+
2988
+ extra_headers: Send extra headers
2989
+
2990
+ extra_query: Add additional query parameters to the request
2991
+
2992
+ extra_body: Add additional JSON properties to the request
2993
+
2994
+ timeout: Override the client-level default timeout for this request, in seconds
2995
+ """
2689
2996
  extra_headers = {"Accept": "*/*", **(extra_headers or {})}
2690
2997
  return await self.get(
2691
2998
  "/DownloadFile",
2692
2999
  options=make_request_options(
2693
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
3000
+ extra_headers=extra_headers,
3001
+ extra_query=extra_query,
3002
+ extra_body=extra_body,
3003
+ timeout=timeout,
3004
+ query=await async_maybe_transform(
3005
+ {"file_id": file_id}, client_download_file_params.ClientDownloadFileParams
3006
+ ),
2694
3007
  ),
2695
3008
  cast_to=NoneType,
2696
3009
  )
@@ -2816,6 +3129,56 @@ class AsyncDeeporiginData(AsyncAPIClient):
2816
3129
  cast_to=ExecuteCodeSyncResponse,
2817
3130
  )
2818
3131
 
3132
+ async def export_database(
3133
+ self,
3134
+ *,
3135
+ database_id: str,
3136
+ format: Literal["csv"],
3137
+ column_selection: client_export_database_params.ColumnSelection | NotGiven = NOT_GIVEN,
3138
+ filter: client_export_database_params.Filter | NotGiven = NOT_GIVEN,
3139
+ row_sort: Iterable[client_export_database_params.RowSort] | NotGiven = NOT_GIVEN,
3140
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
3141
+ # The extra values given here take precedence over values defined on the client or passed to this method.
3142
+ extra_headers: Headers | None = None,
3143
+ extra_query: Query | None = None,
3144
+ extra_body: Body | None = None,
3145
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
3146
+ ) -> AsyncBinaryAPIResponse:
3147
+ """
3148
+ Exports a database to a file.
3149
+
3150
+ Args:
3151
+ column_selection: Select columns for inclusion/exclusion.
3152
+
3153
+ row_sort: Sort rows by column.
3154
+
3155
+ extra_headers: Send extra headers
3156
+
3157
+ extra_query: Add additional query parameters to the request
3158
+
3159
+ extra_body: Add additional JSON properties to the request
3160
+
3161
+ timeout: Override the client-level default timeout for this request, in seconds
3162
+ """
3163
+ extra_headers = {"Accept": "application/octet-stream", **(extra_headers or {})}
3164
+ return await self.post(
3165
+ "/ExportDatabase",
3166
+ body=await async_maybe_transform(
3167
+ {
3168
+ "database_id": database_id,
3169
+ "format": format,
3170
+ "column_selection": column_selection,
3171
+ "filter": filter,
3172
+ "row_sort": row_sort,
3173
+ },
3174
+ client_export_database_params.ClientExportDatabaseParams,
3175
+ ),
3176
+ options=make_request_options(
3177
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
3178
+ ),
3179
+ cast_to=AsyncBinaryAPIResponse,
3180
+ )
3181
+
2819
3182
  async def get_code_execution_result(
2820
3183
  self,
2821
3184
  *,
@@ -3190,6 +3553,47 @@ class AsyncDeeporiginData(AsyncAPIClient):
3190
3553
  cast_to=ParseBaseSequenceDataResponse,
3191
3554
  )
3192
3555
 
3556
+ async def resolve_ids(
3557
+ self,
3558
+ *,
3559
+ database_ids: List[str] | NotGiven = NOT_GIVEN,
3560
+ rows: Iterable[client_resolve_ids_params.Row] | NotGiven = NOT_GIVEN,
3561
+ workspace_ids: List[str] | NotGiven = NOT_GIVEN,
3562
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
3563
+ # The extra values given here take precedence over values defined on the client or passed to this method.
3564
+ extra_headers: Headers | None = None,
3565
+ extra_query: Query | None = None,
3566
+ extra_body: Body | None = None,
3567
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
3568
+ ) -> ResolveIDsResponse:
3569
+ """
3570
+ Resolves between system IDs and human IDs (HIDs).
3571
+
3572
+ Args:
3573
+ extra_headers: Send extra headers
3574
+
3575
+ extra_query: Add additional query parameters to the request
3576
+
3577
+ extra_body: Add additional JSON properties to the request
3578
+
3579
+ timeout: Override the client-level default timeout for this request, in seconds
3580
+ """
3581
+ return await self.post(
3582
+ "/ResolveIds",
3583
+ body=await async_maybe_transform(
3584
+ {
3585
+ "database_ids": database_ids,
3586
+ "rows": rows,
3587
+ "workspace_ids": workspace_ids,
3588
+ },
3589
+ client_resolve_ids_params.ClientResolveIDsParams,
3590
+ ),
3591
+ options=make_request_options(
3592
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
3593
+ ),
3594
+ cast_to=ResolveIDsResponse,
3595
+ )
3596
+
3193
3597
  async def unlock_database(
3194
3598
  self,
3195
3599
  *,
@@ -3430,12 +3834,18 @@ class DeeporiginDataWithRawResponse:
3430
3834
  self.describe_database = to_raw_response_wrapper(
3431
3835
  client.describe_database,
3432
3836
  )
3837
+ self.describe_database_row = to_raw_response_wrapper(
3838
+ client.describe_database_row,
3839
+ )
3433
3840
  self.describe_database_stats = to_raw_response_wrapper(
3434
3841
  client.describe_database_stats,
3435
3842
  )
3436
3843
  self.describe_file = to_raw_response_wrapper(
3437
3844
  client.describe_file,
3438
3845
  )
3846
+ self.describe_hierarchy = to_raw_response_wrapper(
3847
+ client.describe_hierarchy,
3848
+ )
3439
3849
  self.describe_row = to_raw_response_wrapper(
3440
3850
  client.describe_row,
3441
3851
  )
@@ -3454,6 +3864,10 @@ class DeeporiginDataWithRawResponse:
3454
3864
  self.execute_code_sync = to_raw_response_wrapper(
3455
3865
  client.execute_code_sync,
3456
3866
  )
3867
+ self.export_database = to_custom_raw_response_wrapper(
3868
+ client.export_database,
3869
+ BinaryAPIResponse,
3870
+ )
3457
3871
  self.get_code_execution_result = to_raw_response_wrapper(
3458
3872
  client.get_code_execution_result,
3459
3873
  )
@@ -3484,6 +3898,9 @@ class DeeporiginDataWithRawResponse:
3484
3898
  self.parse_base_sequence_data = to_raw_response_wrapper(
3485
3899
  client.parse_base_sequence_data,
3486
3900
  )
3901
+ self.resolve_ids = to_raw_response_wrapper(
3902
+ client.resolve_ids,
3903
+ )
3487
3904
  self.unlock_database = to_raw_response_wrapper(
3488
3905
  client.unlock_database,
3489
3906
  )
@@ -3551,12 +3968,18 @@ class AsyncDeeporiginDataWithRawResponse:
3551
3968
  self.describe_database = async_to_raw_response_wrapper(
3552
3969
  client.describe_database,
3553
3970
  )
3971
+ self.describe_database_row = async_to_raw_response_wrapper(
3972
+ client.describe_database_row,
3973
+ )
3554
3974
  self.describe_database_stats = async_to_raw_response_wrapper(
3555
3975
  client.describe_database_stats,
3556
3976
  )
3557
3977
  self.describe_file = async_to_raw_response_wrapper(
3558
3978
  client.describe_file,
3559
3979
  )
3980
+ self.describe_hierarchy = async_to_raw_response_wrapper(
3981
+ client.describe_hierarchy,
3982
+ )
3560
3983
  self.describe_row = async_to_raw_response_wrapper(
3561
3984
  client.describe_row,
3562
3985
  )
@@ -3575,6 +3998,10 @@ class AsyncDeeporiginDataWithRawResponse:
3575
3998
  self.execute_code_sync = async_to_raw_response_wrapper(
3576
3999
  client.execute_code_sync,
3577
4000
  )
4001
+ self.export_database = async_to_custom_raw_response_wrapper(
4002
+ client.export_database,
4003
+ AsyncBinaryAPIResponse,
4004
+ )
3578
4005
  self.get_code_execution_result = async_to_raw_response_wrapper(
3579
4006
  client.get_code_execution_result,
3580
4007
  )
@@ -3605,6 +4032,9 @@ class AsyncDeeporiginDataWithRawResponse:
3605
4032
  self.parse_base_sequence_data = async_to_raw_response_wrapper(
3606
4033
  client.parse_base_sequence_data,
3607
4034
  )
4035
+ self.resolve_ids = async_to_raw_response_wrapper(
4036
+ client.resolve_ids,
4037
+ )
3608
4038
  self.unlock_database = async_to_raw_response_wrapper(
3609
4039
  client.unlock_database,
3610
4040
  )
@@ -3672,12 +4102,18 @@ class DeeporiginDataWithStreamedResponse:
3672
4102
  self.describe_database = to_streamed_response_wrapper(
3673
4103
  client.describe_database,
3674
4104
  )
4105
+ self.describe_database_row = to_streamed_response_wrapper(
4106
+ client.describe_database_row,
4107
+ )
3675
4108
  self.describe_database_stats = to_streamed_response_wrapper(
3676
4109
  client.describe_database_stats,
3677
4110
  )
3678
4111
  self.describe_file = to_streamed_response_wrapper(
3679
4112
  client.describe_file,
3680
4113
  )
4114
+ self.describe_hierarchy = to_streamed_response_wrapper(
4115
+ client.describe_hierarchy,
4116
+ )
3681
4117
  self.describe_row = to_streamed_response_wrapper(
3682
4118
  client.describe_row,
3683
4119
  )
@@ -3696,6 +4132,10 @@ class DeeporiginDataWithStreamedResponse:
3696
4132
  self.execute_code_sync = to_streamed_response_wrapper(
3697
4133
  client.execute_code_sync,
3698
4134
  )
4135
+ self.export_database = to_custom_streamed_response_wrapper(
4136
+ client.export_database,
4137
+ StreamedBinaryAPIResponse,
4138
+ )
3699
4139
  self.get_code_execution_result = to_streamed_response_wrapper(
3700
4140
  client.get_code_execution_result,
3701
4141
  )
@@ -3726,6 +4166,9 @@ class DeeporiginDataWithStreamedResponse:
3726
4166
  self.parse_base_sequence_data = to_streamed_response_wrapper(
3727
4167
  client.parse_base_sequence_data,
3728
4168
  )
4169
+ self.resolve_ids = to_streamed_response_wrapper(
4170
+ client.resolve_ids,
4171
+ )
3729
4172
  self.unlock_database = to_streamed_response_wrapper(
3730
4173
  client.unlock_database,
3731
4174
  )
@@ -3793,12 +4236,18 @@ class AsyncDeeporiginDataWithStreamedResponse:
3793
4236
  self.describe_database = async_to_streamed_response_wrapper(
3794
4237
  client.describe_database,
3795
4238
  )
4239
+ self.describe_database_row = async_to_streamed_response_wrapper(
4240
+ client.describe_database_row,
4241
+ )
3796
4242
  self.describe_database_stats = async_to_streamed_response_wrapper(
3797
4243
  client.describe_database_stats,
3798
4244
  )
3799
4245
  self.describe_file = async_to_streamed_response_wrapper(
3800
4246
  client.describe_file,
3801
4247
  )
4248
+ self.describe_hierarchy = async_to_streamed_response_wrapper(
4249
+ client.describe_hierarchy,
4250
+ )
3802
4251
  self.describe_row = async_to_streamed_response_wrapper(
3803
4252
  client.describe_row,
3804
4253
  )
@@ -3817,6 +4266,10 @@ class AsyncDeeporiginDataWithStreamedResponse:
3817
4266
  self.execute_code_sync = async_to_streamed_response_wrapper(
3818
4267
  client.execute_code_sync,
3819
4268
  )
4269
+ self.export_database = async_to_custom_streamed_response_wrapper(
4270
+ client.export_database,
4271
+ AsyncStreamedBinaryAPIResponse,
4272
+ )
3820
4273
  self.get_code_execution_result = async_to_streamed_response_wrapper(
3821
4274
  client.get_code_execution_result,
3822
4275
  )
@@ -3847,6 +4300,9 @@ class AsyncDeeporiginDataWithStreamedResponse:
3847
4300
  self.parse_base_sequence_data = async_to_streamed_response_wrapper(
3848
4301
  client.parse_base_sequence_data,
3849
4302
  )
4303
+ self.resolve_ids = async_to_streamed_response_wrapper(
4304
+ client.resolve_ids,
4305
+ )
3850
4306
  self.unlock_database = async_to_streamed_response_wrapper(
3851
4307
  client.unlock_database,
3852
4308
  )
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "deeporigin_data"
4
- __version__ = "0.1.0-alpha.31" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.33" # x-release-please-version
@@ -18,6 +18,7 @@ from .list_files_response import ListFilesResponse as ListFilesResponse
18
18
  from .delete_rows_response import DeleteRowsResponse as DeleteRowsResponse
19
19
  from .ensure_rows_response import EnsureRowsResponse as EnsureRowsResponse
20
20
  from .import_rows_response import ImportRowsResponse as ImportRowsResponse
21
+ from .resolve_ids_response import ResolveIDsResponse as ResolveIDsResponse
21
22
  from .describe_file_response import DescribeFileResponse as DescribeFileResponse
22
23
  from .list_mentions_response import ListMentionsResponse as ListMentionsResponse
23
24
  from .lock_database_response import LockDatabaseResponse as LockDatabaseResponse
@@ -30,6 +31,7 @@ from .update_database_response import UpdateDatabaseResponse as UpdateDatabaseRe
30
31
  from .client_delete_rows_params import ClientDeleteRowsParams as ClientDeleteRowsParams
31
32
  from .client_ensure_rows_params import ClientEnsureRowsParams as ClientEnsureRowsParams
32
33
  from .client_import_rows_params import ClientImportRowsParams as ClientImportRowsParams
34
+ from .client_resolve_ids_params import ClientResolveIDsParams as ClientResolveIDsParams
33
35
  from .create_workspace_response import CreateWorkspaceResponse as CreateWorkspaceResponse
34
36
  from .delete_workspace_response import DeleteWorkspaceResponse as DeleteWorkspaceResponse
35
37
  from .update_workspace_response import UpdateWorkspaceResponse as UpdateWorkspaceResponse
@@ -41,20 +43,24 @@ from .chat_create_thread_response import ChatCreateThreadResponse as ChatCreateT
41
43
  from .chat_list_messages_response import ChatListMessagesResponse as ChatListMessagesResponse
42
44
  from .client_archive_files_params import ClientArchiveFilesParams as ClientArchiveFilesParams
43
45
  from .client_describe_file_params import ClientDescribeFileParams as ClientDescribeFileParams
46
+ from .client_download_file_params import ClientDownloadFileParams as ClientDownloadFileParams
44
47
  from .client_list_mentions_params import ClientListMentionsParams as ClientListMentionsParams
45
48
  from .client_lock_database_params import ClientLockDatabaseParams as ClientLockDatabaseParams
46
49
  from .create_file_upload_response import CreateFileUploadResponse as CreateFileUploadResponse
50
+ from .describe_hierarchy_response import DescribeHierarchyResponse as DescribeHierarchyResponse
47
51
  from .describe_workspace_response import DescribeWorkspaceResponse as DescribeWorkspaceResponse
48
52
  from .execute_code_async_response import ExecuteCodeAsyncResponse as ExecuteCodeAsyncResponse
49
53
  from .list_database_rows_response import ListDatabaseRowsResponse as ListDatabaseRowsResponse
50
54
  from .add_database_column_response import AddDatabaseColumnResponse as AddDatabaseColumnResponse
51
55
  from .client_create_database_params import ClientCreateDatabaseParams as ClientCreateDatabaseParams
52
56
  from .client_delete_database_params import ClientDeleteDatabaseParams as ClientDeleteDatabaseParams
57
+ from .client_export_database_params import ClientExportDatabaseParams as ClientExportDatabaseParams
53
58
  from .client_unlock_database_params import ClientUnlockDatabaseParams as ClientUnlockDatabaseParams
54
59
  from .client_update_database_params import ClientUpdateDatabaseParams as ClientUpdateDatabaseParams
55
60
  from .client_create_workspace_params import ClientCreateWorkspaceParams as ClientCreateWorkspaceParams
56
61
  from .client_delete_workspace_params import ClientDeleteWorkspaceParams as ClientDeleteWorkspaceParams
57
62
  from .client_update_workspace_params import ClientUpdateWorkspaceParams as ClientUpdateWorkspaceParams
63
+ from .describe_database_row_response import DescribeDatabaseRowResponse as DescribeDatabaseRowResponse
58
64
  from .client_chat_send_message_params import ClientChatSendMessageParams as ClientChatSendMessageParams
59
65
  from .client_convert_id_format_params import ClientConvertIDFormatParams as ClientConvertIDFormatParams
60
66
  from .client_describe_database_params import ClientDescribeDatabaseParams as ClientDescribeDatabaseParams
@@ -64,6 +70,7 @@ from .update_database_column_response import UpdateDatabaseColumnResponse as Upd
64
70
  from .client_chat_create_thread_params import ClientChatCreateThreadParams as ClientChatCreateThreadParams
65
71
  from .client_chat_list_messages_params import ClientChatListMessagesParams as ClientChatListMessagesParams
66
72
  from .client_create_file_upload_params import ClientCreateFileUploadParams as ClientCreateFileUploadParams
73
+ from .client_describe_hierarchy_params import ClientDescribeHierarchyParams as ClientDescribeHierarchyParams
67
74
  from .client_describe_workspace_params import ClientDescribeWorkspaceParams as ClientDescribeWorkspaceParams
68
75
  from .client_execute_code_async_params import ClientExecuteCodeAsyncParams as ClientExecuteCodeAsyncParams
69
76
  from .client_list_database_rows_params import ClientListDatabaseRowsParams as ClientListDatabaseRowsParams
@@ -73,6 +80,7 @@ from .client_add_database_column_params import ClientAddDatabaseColumnParams as
73
80
  from .create_file_download_url_response import CreateFileDownloadURLResponse as CreateFileDownloadURLResponse
74
81
  from .list_row_back_references_response import ListRowBackReferencesResponse as ListRowBackReferencesResponse
75
82
  from .parse_base_sequence_data_response import ParseBaseSequenceDataResponse as ParseBaseSequenceDataResponse
83
+ from .client_describe_database_row_params import ClientDescribeDatabaseRowParams as ClientDescribeDatabaseRowParams
76
84
  from .client_delete_database_column_params import ClientDeleteDatabaseColumnParams as ClientDeleteDatabaseColumnParams
77
85
  from .client_update_database_column_params import ClientUpdateDatabaseColumnParams as ClientUpdateDatabaseColumnParams
78
86
  from .client_describe_code_execution_params import (
@@ -0,0 +1,25 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List
6
+ from typing_extensions import Required, Annotated, TypedDict
7
+
8
+ from .._utils import PropertyInfo
9
+
10
+ __all__ = ["ClientDescribeDatabaseRowParams", "ColumnSelection"]
11
+
12
+
13
+ class ClientDescribeDatabaseRowParams(TypedDict, total=False):
14
+ row_id: Required[Annotated[str, PropertyInfo(alias="rowId")]]
15
+
16
+ column_selection: Annotated[ColumnSelection, PropertyInfo(alias="columnSelection")]
17
+ """Select columns for inclusion/exclusion."""
18
+
19
+ database_id: Annotated[str, PropertyInfo(alias="databaseId")]
20
+
21
+
22
+ class ColumnSelection(TypedDict, total=False):
23
+ exclude: List[str]
24
+
25
+ include: List[str]
@@ -0,0 +1,17 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Literal, Required, Annotated, TypedDict
6
+
7
+ from .._utils import PropertyInfo
8
+
9
+ __all__ = ["ClientDescribeHierarchyParams"]
10
+
11
+
12
+ class ClientDescribeHierarchyParams(TypedDict, total=False):
13
+ id: Required[str]
14
+
15
+ type: Required[Literal["database", "row", "workspace"]]
16
+
17
+ database_id: Annotated[str, PropertyInfo(alias="databaseId")]
@@ -0,0 +1,14 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing_extensions import Required, Annotated, TypedDict
6
+
7
+ from .._utils import PropertyInfo
8
+
9
+ __all__ = ["ClientDownloadFileParams"]
10
+
11
+
12
+ class ClientDownloadFileParams(TypedDict, total=False):
13
+ file_id: Required[Annotated[str, PropertyInfo(alias="fileId")]]
14
+ """Deep Origin system ID."""
@@ -0,0 +1,120 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List, Union, Iterable
6
+ from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
+
8
+ from .._utils import PropertyInfo
9
+
10
+ __all__ = [
11
+ "ClientExportDatabaseParams",
12
+ "ColumnSelection",
13
+ "Filter",
14
+ "FilterRowFilterText",
15
+ "FilterRowFilterNumber",
16
+ "FilterRowFilterBoolean",
17
+ "FilterRowFilterNullity",
18
+ "FilterRowFilterSet",
19
+ "FilterRowFilterSubstructure",
20
+ "RowSort",
21
+ ]
22
+
23
+
24
+ class ClientExportDatabaseParams(TypedDict, total=False):
25
+ database_id: Required[Annotated[str, PropertyInfo(alias="databaseId")]]
26
+
27
+ format: Required[Literal["csv"]]
28
+
29
+ column_selection: Annotated[ColumnSelection, PropertyInfo(alias="columnSelection")]
30
+ """Select columns for inclusion/exclusion."""
31
+
32
+ filter: Filter
33
+
34
+ row_sort: Annotated[Iterable[RowSort], PropertyInfo(alias="rowSort")]
35
+ """Sort rows by column."""
36
+
37
+
38
+ class ColumnSelection(TypedDict, total=False):
39
+ exclude: List[str]
40
+
41
+ include: List[str]
42
+
43
+
44
+ class FilterRowFilterText(TypedDict, total=False):
45
+ column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
46
+
47
+ filter_type: Required[Annotated[Literal["text"], PropertyInfo(alias="filterType")]]
48
+
49
+ filter_value: Required[Annotated[str, PropertyInfo(alias="filterValue")]]
50
+
51
+ operator: Required[Literal["equals", "notEqual", "contains", "notContains", "startsWith", "endsWith"]]
52
+
53
+
54
+ class FilterRowFilterNumber(TypedDict, total=False):
55
+ column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
56
+
57
+ filter_type: Required[Annotated[Literal["number"], PropertyInfo(alias="filterType")]]
58
+
59
+ filter_value: Required[Annotated[float, PropertyInfo(alias="filterValue")]]
60
+
61
+ operator: Required[
62
+ Literal["equals", "notEqual", "lessThan", "lessThanOrEqual", "greaterThan", "greaterThanOrEqual"]
63
+ ]
64
+
65
+
66
+ class FilterRowFilterBoolean(TypedDict, total=False):
67
+ column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
68
+
69
+ filter_type: Required[Annotated[Literal["boolean"], PropertyInfo(alias="filterType")]]
70
+
71
+ filter_value: Required[Annotated[bool, PropertyInfo(alias="filterValue")]]
72
+
73
+ operator: Required[Literal["equals", "notEqual"]]
74
+
75
+
76
+ class FilterRowFilterNullity(TypedDict, total=False):
77
+ column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
78
+
79
+ filter_type: Required[Annotated[Literal["nullity"], PropertyInfo(alias="filterType")]]
80
+
81
+ operator: Required[Literal["isNull", "isNotNull"]]
82
+
83
+
84
+ class FilterRowFilterSet(TypedDict, total=False):
85
+ column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
86
+
87
+ filter_type: Required[Annotated[Literal["set"], PropertyInfo(alias="filterType")]]
88
+
89
+ operator: Required[Literal["in", "notIn"]]
90
+
91
+ values: Required[Iterable[None]]
92
+
93
+
94
+ class FilterRowFilterSubstructure(TypedDict, total=False):
95
+ column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
96
+
97
+ filter_type: Required[Annotated[Literal["substructure"], PropertyInfo(alias="filterType")]]
98
+
99
+ substructure: Required[str]
100
+ """A SMARTS or SMILES string to match against."""
101
+
102
+
103
+ Filter: TypeAlias = Union[
104
+ FilterRowFilterText,
105
+ FilterRowFilterNumber,
106
+ FilterRowFilterBoolean,
107
+ FilterRowFilterNullity,
108
+ FilterRowFilterSet,
109
+ FilterRowFilterSubstructure,
110
+ "RowFilterJoin",
111
+ ]
112
+
113
+
114
+ class RowSort(TypedDict, total=False):
115
+ column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
116
+
117
+ sort: Required[Literal["asc", "desc"]]
118
+
119
+
120
+ from .shared_params.row_filter_join import RowFilterJoin
@@ -0,0 +1,24 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import List, Iterable
6
+ from typing_extensions import Required, Annotated, TypedDict
7
+
8
+ from .._utils import PropertyInfo
9
+
10
+ __all__ = ["ClientResolveIDsParams", "Row"]
11
+
12
+
13
+ class ClientResolveIDsParams(TypedDict, total=False):
14
+ database_ids: Annotated[List[str], PropertyInfo(alias="databaseIds")]
15
+
16
+ rows: Iterable[Row]
17
+
18
+ workspace_ids: Annotated[List[str], PropertyInfo(alias="workspaceIds")]
19
+
20
+
21
+ class Row(TypedDict, total=False):
22
+ database_id: Required[Annotated[str, PropertyInfo(alias="databaseId")]]
23
+
24
+ row_id: Required[Annotated[str, PropertyInfo(alias="rowId")]]
@@ -0,0 +1,11 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+
4
+ from .._models import BaseModel
5
+ from .shared.database_row import DatabaseRow
6
+
7
+ __all__ = ["DescribeDatabaseRowResponse"]
8
+
9
+
10
+ class DescribeDatabaseRowResponse(BaseModel):
11
+ data: DatabaseRow
@@ -0,0 +1,27 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from pydantic import Field as FieldInfo
7
+
8
+ from .._models import BaseModel
9
+
10
+ __all__ = ["DescribeHierarchyResponse", "Data"]
11
+
12
+
13
+ class Data(BaseModel):
14
+ id: str
15
+ """Deep Origin system ID."""
16
+
17
+ hid: str
18
+
19
+ type: Literal["database", "row", "workspace"]
20
+
21
+ name: Optional[str] = None
22
+
23
+ parent_id: Optional[str] = FieldInfo(alias="parentId", default=None)
24
+
25
+
26
+ class DescribeHierarchyResponse(BaseModel):
27
+ data: List[Data]
@@ -0,0 +1,46 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Union
4
+ from typing_extensions import Literal, Annotated, TypeAlias
5
+
6
+ from pydantic import Field as FieldInfo
7
+
8
+ from .._utils import PropertyInfo
9
+ from .._models import BaseModel
10
+
11
+ __all__ = ["ResolveIDsResponse", "Data", "DataResolvedDatabaseID", "DataResolvedWorkspaceID", "DataResolvedRowID"]
12
+
13
+
14
+ class DataResolvedDatabaseID(BaseModel):
15
+ id: str
16
+
17
+ hid: str
18
+
19
+ type: Literal["database"]
20
+
21
+
22
+ class DataResolvedWorkspaceID(BaseModel):
23
+ id: str
24
+
25
+ hid: str
26
+
27
+ type: Literal["workspace"]
28
+
29
+
30
+ class DataResolvedRowID(BaseModel):
31
+ id: str
32
+
33
+ database_id: str = FieldInfo(alias="databaseId")
34
+
35
+ hid: str
36
+
37
+ type: Literal["row"]
38
+
39
+
40
+ Data: TypeAlias = Annotated[
41
+ Union[DataResolvedDatabaseID, DataResolvedWorkspaceID, DataResolvedRowID], PropertyInfo(discriminator="type")
42
+ ]
43
+
44
+
45
+ class ResolveIDsResponse(BaseModel):
46
+ data: List[Data]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: deeporigin_data_sdk
3
- Version: 0.1.0a31
3
+ Version: 0.1.0a33
4
4
  Summary: The official Python library for the deeporigin_data API
5
5
  Project-URL: Homepage, https://github.com/deeporiginbio/deeporigin-data-sdk
6
6
  Project-URL: Repository, https://github.com/deeporiginbio/deeporigin-data-sdk
@@ -1,6 +1,6 @@
1
1
  deeporigin_data/__init__.py,sha256=g5vq9kCCiWBl8XgJzXdUB9AIdRypOEj9pQH8WJJEVxo,2533
2
2
  deeporigin_data/_base_client.py,sha256=S5oZPMoWvnH4vdTsMwR8KYI6qg4OF6lydyeTmXwndwA,68045
3
- deeporigin_data/_client.py,sha256=7y9nSPbjDKt_ZsEGXTzZFppLN69_X6WVnZl-pFSzjJY,152245
3
+ deeporigin_data/_client.py,sha256=HHl30KLhtDRrEKLN41Q51m6yBcZcDFl8-6azbSzUNDU,170041
4
4
  deeporigin_data/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
5
  deeporigin_data/_constants.py,sha256=JE8kyZa2Q4NK_i4fO--8siEYTzeHnT0fYbOFDgDP4uk,464
6
6
  deeporigin_data/_exceptions.py,sha256=_25MmrwuBf1sxAJESpY5sPn1o5E-aUymr6wDuRSWIng,3236
@@ -11,7 +11,7 @@ deeporigin_data/_resource.py,sha256=tkm4gF9YRotE93j48jTDBSGs8wyVa0E5NS9fj19e38c,
11
11
  deeporigin_data/_response.py,sha256=nzKdjRA8W3Rwgvgv6zCu4LISsdLUPCQjedlOp_NWyUY,28691
12
12
  deeporigin_data/_streaming.py,sha256=yG857cOSJD3gbc7mEc2wqfvcPVLMGmYX4hBOqqIT5RE,10132
13
13
  deeporigin_data/_types.py,sha256=HI5vtFJGLEsyOrrWJRSRtUeOSrd8EdoM020wC51GvcI,6152
14
- deeporigin_data/_version.py,sha256=MIpaxkAge76UTkJE4Yjt0GmjJZqmdL5ZKnA8Mmrrij4,176
14
+ deeporigin_data/_version.py,sha256=jCGAHzyNloeHRCSpngn1Uopc2zC8bojiseEOdSOlZ7Y,176
15
15
  deeporigin_data/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  deeporigin_data/_utils/__init__.py,sha256=k266EatJr88V8Zseb7xUimTlCeno9SynRfLwadHP1b4,2016
17
17
  deeporigin_data/_utils/_logs.py,sha256=R7dnUaDs2cdYbq1Ee16dHy863wdcTZRRzubw9KE0qNc,801
@@ -24,7 +24,7 @@ deeporigin_data/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_Le
24
24
  deeporigin_data/_utils/_utils.py,sha256=8UmbPOy_AAr2uUjjFui-VZSrVBHRj6bfNEKRp5YZP2A,12004
25
25
  deeporigin_data/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
26
26
  deeporigin_data/resources/__init__.py,sha256=ikKh5ucm9qFI-Z42nOKxhBhEI-YHaaxvsSddO_Nx0-Y,86
27
- deeporigin_data/types/__init__.py,sha256=G_80rEhFbmAG03NbSQDu0BokfywohYZba5aIP9mNBqA,7786
27
+ deeporigin_data/types/__init__.py,sha256=rWEVTTs8jU5G-8Ua5Aix0ID5AkXImeqfd4TteL4aj9k,8567
28
28
  deeporigin_data/types/add_database_column_response.py,sha256=3sM1H23FE_sCUQ2f9NiQA9j8rbbBP-I1rIdGtyHgU48,383
29
29
  deeporigin_data/types/chat_create_thread_response.py,sha256=AZrFyvH7uj-VptxC4DLqq2zTzBTYRiosfNUGDSDe4jE,678
30
30
  deeporigin_data/types/chat_list_messages_response.py,sha256=weE0jVbPTGI-_A72HW2J4hHoG7V8t3ZVTRvpwsmyLJI,1774
@@ -45,13 +45,17 @@ deeporigin_data/types/client_delete_rows_params.py,sha256=BGGu6fMY6ZOxzMoEHAGVi-
45
45
  deeporigin_data/types/client_delete_workspace_params.py,sha256=r_815ExueeGMNkGU5wU2arWz_h0K5xRfX_hI88HBxd4,401
46
46
  deeporigin_data/types/client_describe_code_execution_params.py,sha256=-_QjRCsuGjdEmHYwJwTsdWCQmwaJo5_efy4iCkzqfSc,311
47
47
  deeporigin_data/types/client_describe_database_params.py,sha256=NNgvwMf-0HFsrTzrfnHG6SDy2PjONAgadNjT5sg9qKQ,401
48
+ deeporigin_data/types/client_describe_database_row_params.py,sha256=WFa1M40OGmXUAHaxAPOX76Qzkhwz0D6XKdXemG8Ktu8,742
48
49
  deeporigin_data/types/client_describe_database_stats_params.py,sha256=sopt7IcmentMVrTGEsVFF9f8lsWGcQsnoBEXFoZuqQQ,411
49
50
  deeporigin_data/types/client_describe_file_params.py,sha256=u9Kzs4L8gXNf4aeQKt_yOcjGWccCa1WcM8J9Mi6m--8,418
51
+ deeporigin_data/types/client_describe_hierarchy_params.py,sha256=nzjNkFlVGizVjUiTHoADy2hVzA7KkETlNtlmouYKYv4,486
50
52
  deeporigin_data/types/client_describe_row_params.py,sha256=ykhjrmfIeawbYQJcr6-pbkMVAfh3tev7ikzZsOMTh0k,677
51
53
  deeporigin_data/types/client_describe_workspace_params.py,sha256=3El_4adzR1R1o4xBAeAce2kH4HUvscmY1wOQA1BqkAE,405
54
+ deeporigin_data/types/client_download_file_params.py,sha256=6B-OV4kISwB3oG-UdZPvFk0Bx5rXnjWyhNc698U9MYY,418
52
55
  deeporigin_data/types/client_ensure_rows_params.py,sha256=rS2b2isZ9Kzp_U_z7jECc2Z2mh6HsFyIvsx4rCrvm3M,1407
53
56
  deeporigin_data/types/client_execute_code_async_params.py,sha256=Ohe8X-MGsuf_JzFiyd7_-UdbJn81CKW9UujKKEcOYJw,453
54
57
  deeporigin_data/types/client_execute_code_sync_params.py,sha256=4OUGuc1P5ATJz6ocQuL14te1pU9EZD5ocY9yHY4jUcE,451
58
+ deeporigin_data/types/client_export_database_params.py,sha256=KW29eTgxBu6mFTprhr5VDuVWQmdJWyLcU1iKjYGzI-4,3609
55
59
  deeporigin_data/types/client_get_code_execution_result_params.py,sha256=rtctDcOx0jKB2BiHbrxJZk1KkB9LhlgbGDoO_J3aHhI,346
56
60
  deeporigin_data/types/client_import_rows_params.py,sha256=mBMjt8qp1MEmsM1hFNWWORhHJ0ReyOvJAbK0lFOlcBY,10733
57
61
  deeporigin_data/types/client_list_database_column_unique_values_v2_params.py,sha256=_ENSP8YCgkdEYy4UjN_g230CuqXmYN7o1b7v3o0FEOY,506
@@ -62,6 +66,7 @@ deeporigin_data/types/client_list_row_back_references_params.py,sha256=JlflftXfN
62
66
  deeporigin_data/types/client_list_rows_params.py,sha256=OLw3yKZnqTtmiDXB4340G4wS1NOjouCUDY3NBAQWoJg,1295
63
67
  deeporigin_data/types/client_lock_database_params.py,sha256=PlpoA6qVLm22Rb73U9DuJJPoXGa2ucQ1exdtKo11Vxc,393
64
68
  deeporigin_data/types/client_parse_base_sequence_data_params.py,sha256=GDii5dgimUolBBFmF0rOyTX8tbDwczCLSkfyy6r2GAo,403
69
+ deeporigin_data/types/client_resolve_ids_params.py,sha256=9uVa88FIpQNsp16_2mAoXV2vZGqnzbuqXgUkU9ow5Sk,710
65
70
  deeporigin_data/types/client_unlock_database_params.py,sha256=4l-QQ_q3n8KI-gNAlsLf-8SoZgQMCyCpzISI2kxPaXk,397
66
71
  deeporigin_data/types/client_update_database_column_params.py,sha256=5MxOfmd12PX1P_ruRfco39F9TMPERTJfC3u670MRVWw,606
67
72
  deeporigin_data/types/client_update_database_params.py,sha256=eBWaNkRxf6H_D6lgiWeHdZNDjrAvJiYXojDutwBl9SA,645
@@ -78,8 +83,10 @@ deeporigin_data/types/delete_rows_response.py,sha256=kO1KZTGHFqtKuwL0DOYadcvQocB
78
83
  deeporigin_data/types/delete_workspace_response.py,sha256=m0_tG38_ryYI7Mm9r6Ma9EPJ9nPyBCSuVtWFh-fd3CU,220
79
84
  deeporigin_data/types/describe_code_execution_response.py,sha256=R561xE3XAew_BU2l0Xl1a0fIq-skrUWq1ItQ73yYLX0,1153
80
85
  deeporigin_data/types/describe_database_response.py,sha256=FH9mBG4OcXLnBMlLCXmBLm0ylG8VUMyJq-U-44V8RrA,262
86
+ deeporigin_data/types/describe_database_row_response.py,sha256=djnvr6XfAS5-OlZZcFqA95WXv9mh6hhVJA8sPxYP7g4,278
81
87
  deeporigin_data/types/describe_database_stats_response.py,sha256=TxNmnH4lF20rpFCiMNuh4Lz-W9RpoaisuexC9Nw-0sY,355
82
88
  deeporigin_data/types/describe_file_response.py,sha256=Dd3qgkVhfAo-8dMBnUvCjYPhTU9frEUUjL3JjPUpXL8,242
89
+ deeporigin_data/types/describe_hierarchy_response.py,sha256=7ET6ebJqcaX8Uk0KmCCSoXaBmPIy173NMpZSQ5K0PZs,590
83
90
  deeporigin_data/types/describe_workspace_response.py,sha256=-32QbqRtXiUBAyX4ZuQE9RKPkf5j8ywx6ZRm8gYMATo,267
84
91
  deeporigin_data/types/ensure_rows_response.py,sha256=O1Uz5e-DO0dHu-_NwRttL_8wuJ7rqFunn-G6AuvY5y0,338
85
92
  deeporigin_data/types/execute_code_async_response.py,sha256=3aMS6SENWG7Kkrew1ft6tRDxscziPnbKdMgT7j79d2M,1143
@@ -93,6 +100,7 @@ deeporigin_data/types/list_row_back_references_response.py,sha256=eT1ibMxUGTh5hL
93
100
  deeporigin_data/types/list_rows_response.py,sha256=UZMlQTwmbOZyiQgyd3kaQIs2jIf0sK8tAH_I5akh0bQ,572
94
101
  deeporigin_data/types/lock_database_response.py,sha256=umJT88AMTj-zhpwck5KvY-pXBqNbZODi_3XNMt-xBUg,254
95
102
  deeporigin_data/types/parse_base_sequence_data_response.py,sha256=Zx-OBZMjkItXSppxGytGfCneTq8Ku6tP7mfSOjypHS8,720
103
+ deeporigin_data/types/resolve_ids_response.py,sha256=YQCy_Wuj2tZbgjGdId8DYPtUN2SP1cN81w1KTa5i1xw,955
96
104
  deeporigin_data/types/unlock_database_response.py,sha256=tL3SOkK3Q6yI0lrr9PY5sqUO3jETUd29WeVaNmKVgGc,258
97
105
  deeporigin_data/types/update_database_column_response.py,sha256=UDOt1wNkOgpbTs813LxaKDuG8EWOV9YB9WqoJx3sY20,389
98
106
  deeporigin_data/types/update_database_response.py,sha256=abtJ_GjAReuizXVNkXUMSwwm5uSCMylgsDlduNzCUtg,258
@@ -112,7 +120,7 @@ deeporigin_data/types/shared_params/add_column_base.py,sha256=KfTFZFnCy08oqgSPAl
112
120
  deeporigin_data/types/shared_params/add_column_union.py,sha256=q4Ia_xvxdAF7RnKicd5QDs-WMKePG_PY-xnQ0SaJRmc,971
113
121
  deeporigin_data/types/shared_params/condition.py,sha256=ftu-hdGv05aTv4GL9bRyf4kQXl27kaPpt3P4KKdwmNM,2723
114
122
  deeporigin_data/types/shared_params/row_filter_join.py,sha256=QIo2yhjJJZLcGF-hBF7YcLcYHLhf5uq5EkQG-0WJjtU,595
115
- deeporigin_data_sdk-0.1.0a31.dist-info/METADATA,sha256=0J3FsrBDg1eqfwpZkbMTp-K3WeytpQFiltz3QETjp6s,13102
116
- deeporigin_data_sdk-0.1.0a31.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
117
- deeporigin_data_sdk-0.1.0a31.dist-info/licenses/LICENSE,sha256=qQA5hv0RJh5jpG5jw4cmr1gPxsNivnMjHFpEOTGWZyI,11345
118
- deeporigin_data_sdk-0.1.0a31.dist-info/RECORD,,
123
+ deeporigin_data_sdk-0.1.0a33.dist-info/METADATA,sha256=GyWqSxI7xr4PqtGEVuyRBExvjkKHg9Yo74_HldEHylM,13102
124
+ deeporigin_data_sdk-0.1.0a33.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
125
+ deeporigin_data_sdk-0.1.0a33.dist-info/licenses/LICENSE,sha256=qQA5hv0RJh5jpG5jw4cmr1gPxsNivnMjHFpEOTGWZyI,11345
126
+ deeporigin_data_sdk-0.1.0a33.dist-info/RECORD,,