deeporigin-data-sdk 0.1.0a57__py3-none-any.whl → 0.1.0a59__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.
- deeporigin_data/_response.py +1 -1
- deeporigin_data/_utils/_proxy.py +4 -1
- deeporigin_data/_version.py +1 -1
- deeporigin_data/types/create_database_response.py +0 -1
- deeporigin_data/types/create_file_download_url_response.py +0 -1
- deeporigin_data/types/create_file_upload_response.py +0 -1
- deeporigin_data/types/create_workspace_response.py +0 -1
- deeporigin_data/types/delete_database_column_response.py +0 -1
- deeporigin_data/types/delete_database_response.py +0 -1
- deeporigin_data/types/delete_rows_response.py +0 -1
- deeporigin_data/types/delete_workspace_response.py +0 -1
- deeporigin_data/types/describe_database_response.py +0 -1
- deeporigin_data/types/describe_database_row_response.py +0 -1
- deeporigin_data/types/describe_database_stats_response.py +0 -1
- deeporigin_data/types/describe_file_response.py +0 -1
- deeporigin_data/types/describe_workspace_response.py +0 -1
- deeporigin_data/types/import_rows_response.py +0 -1
- deeporigin_data/types/lock_database_response.py +0 -1
- deeporigin_data/types/unlock_database_response.py +0 -1
- deeporigin_data/types/update_database_response.py +0 -1
- deeporigin_data/types/update_workspace_response.py +0 -1
- {deeporigin_data_sdk-0.1.0a57.dist-info → deeporigin_data_sdk-0.1.0a59.dist-info}/METADATA +1 -1
- {deeporigin_data_sdk-0.1.0a57.dist-info → deeporigin_data_sdk-0.1.0a59.dist-info}/RECORD +25 -25
- {deeporigin_data_sdk-0.1.0a57.dist-info → deeporigin_data_sdk-0.1.0a59.dist-info}/WHEEL +0 -0
- {deeporigin_data_sdk-0.1.0a57.dist-info → deeporigin_data_sdk-0.1.0a59.dist-info}/licenses/LICENSE +0 -0
deeporigin_data/_response.py
CHANGED
@@ -235,7 +235,7 @@ class BaseAPIResponse(Generic[R]):
|
|
235
235
|
# split is required to handle cases where additional information is included
|
236
236
|
# in the response, e.g. application/json; charset=utf-8
|
237
237
|
content_type, *_ = response.headers.get("content-type", "*").split(";")
|
238
|
-
if content_type
|
238
|
+
if not content_type.endswith("json"):
|
239
239
|
if is_basemodel(cast_to):
|
240
240
|
try:
|
241
241
|
data = response.json()
|
deeporigin_data/_utils/_proxy.py
CHANGED
@@ -46,7 +46,10 @@ class LazyProxy(Generic[T], ABC):
|
|
46
46
|
@property # type: ignore
|
47
47
|
@override
|
48
48
|
def __class__(self) -> type: # pyright: ignore
|
49
|
-
|
49
|
+
try:
|
50
|
+
proxied = self.__get_proxied__()
|
51
|
+
except Exception:
|
52
|
+
return type(self)
|
50
53
|
if issubclass(type(proxied), LazyProxy):
|
51
54
|
return type(proxied)
|
52
55
|
return proxied.__class__
|
deeporigin_data/_version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: deeporigin_data_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a59
|
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
|
@@ -8,14 +8,14 @@ deeporigin_data/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,354
|
|
8
8
|
deeporigin_data/_models.py,sha256=mB2r2VWQq49jG-F0RIXDrBxPp3v-Eg12wMOtVTNxtv4,29057
|
9
9
|
deeporigin_data/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
10
10
|
deeporigin_data/_resource.py,sha256=tkm4gF9YRotE93j48jTDBSGs8wyVa0E5NS9fj19e38c,1148
|
11
|
-
deeporigin_data/_response.py,sha256=
|
11
|
+
deeporigin_data/_response.py,sha256=i98w-_OFUAnDfRaLynqu2Qrgh39xKGq9WQ1DK2CueMs,28870
|
12
12
|
deeporigin_data/_streaming.py,sha256=yG857cOSJD3gbc7mEc2wqfvcPVLMGmYX4hBOqqIT5RE,10132
|
13
13
|
deeporigin_data/_types.py,sha256=HI5vtFJGLEsyOrrWJRSRtUeOSrd8EdoM020wC51GvcI,6152
|
14
|
-
deeporigin_data/_version.py,sha256=
|
14
|
+
deeporigin_data/_version.py,sha256=KnJoIEYiqmEDxzc0aJGfDQgado2NU7ckuD54DLhO4e0,176
|
15
15
|
deeporigin_data/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
deeporigin_data/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
17
17
|
deeporigin_data/_utils/_logs.py,sha256=R7dnUaDs2cdYbq1Ee16dHy863wdcTZRRzubw9KE0qNc,801
|
18
|
-
deeporigin_data/_utils/_proxy.py,sha256=
|
18
|
+
deeporigin_data/_utils/_proxy.py,sha256=aglnj2yBTDyGX9Akk2crZHrl10oqRmceUy2Zp008XEs,1975
|
19
19
|
deeporigin_data/_utils/_reflection.py,sha256=ZmGkIgT_PuwedyNBrrKGbxoWtkpytJNU1uU4QHnmEMU,1364
|
20
20
|
deeporigin_data/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
21
21
|
deeporigin_data/_utils/_sync.py,sha256=TpGLrrhRNWTJtODNE6Fup3_k7zrWm1j2RlirzBwre-0,2862
|
@@ -73,38 +73,38 @@ deeporigin_data/types/client_update_database_params.py,sha256=eBWaNkRxf6H_D6lgiW
|
|
73
73
|
deeporigin_data/types/client_update_workspace_params.py,sha256=9NpMi2wwH6VUuwmbweu1Y-xzwMfCzr0MCqQkRxlxEi0,586
|
74
74
|
deeporigin_data/types/configure_column_select_options_response.py,sha256=VLkDEXoNX74MA8kLN5Tosf-GU2fRSl7b9ihyHNwbNUk,592
|
75
75
|
deeporigin_data/types/convert_id_format_response.py,sha256=8oY-p2PDKndRkm7HAoxVve_yj-va1BlTFMMkw-g3Goo,340
|
76
|
-
deeporigin_data/types/create_database_response.py,sha256=
|
77
|
-
deeporigin_data/types/create_file_download_url_response.py,sha256=
|
78
|
-
deeporigin_data/types/create_file_upload_response.py,sha256=
|
79
|
-
deeporigin_data/types/create_workspace_response.py,sha256=
|
80
|
-
deeporigin_data/types/delete_database_column_response.py,sha256=
|
81
|
-
deeporigin_data/types/delete_database_response.py,sha256=
|
82
|
-
deeporigin_data/types/delete_rows_response.py,sha256=
|
83
|
-
deeporigin_data/types/delete_workspace_response.py,sha256=
|
76
|
+
deeporigin_data/types/create_database_response.py,sha256=pNOmwSX8VRF8NlfeObevu-LvaUaxdwufUheNc7pqGH0,257
|
77
|
+
deeporigin_data/types/create_file_download_url_response.py,sha256=Hd49538a696Qp2DrV8_zZdbQkPHXAd4077IJOGiuZb0,358
|
78
|
+
deeporigin_data/types/create_file_upload_response.py,sha256=7cVhDtOxlkEI9yTV_CljA_FwwK0QHeU6ova4XtarGeo,390
|
79
|
+
deeporigin_data/types/create_workspace_response.py,sha256=dkmA7B2sgCufUlUxzVbtYuwZtNrl2EkAOuPSXL6HSzg,262
|
80
|
+
deeporigin_data/types/delete_database_column_response.py,sha256=VuNo6DTR49eVTQX7m4Wbk8b8LUS0LutljUBzGyk8N0E,321
|
81
|
+
deeporigin_data/types/delete_database_response.py,sha256=MPYz70WTD60iMPofC8Uh9JoUpD3ioZjM7c8sqjL6sdg,217
|
82
|
+
deeporigin_data/types/delete_rows_response.py,sha256=4Oma1352ibRaLAqMOKU8AQLJiopWc-phekIJhRRmQxs,209
|
83
|
+
deeporigin_data/types/delete_workspace_response.py,sha256=mw5XcrkEC0riUyQJIFt8-fUK7WJ3rUqz2Th_Pyczhm4,219
|
84
84
|
deeporigin_data/types/describe_code_execution_response.py,sha256=R561xE3XAew_BU2l0Xl1a0fIq-skrUWq1ItQ73yYLX0,1153
|
85
|
-
deeporigin_data/types/describe_database_response.py,sha256=
|
86
|
-
deeporigin_data/types/describe_database_row_response.py,sha256=
|
87
|
-
deeporigin_data/types/describe_database_stats_response.py,sha256=
|
88
|
-
deeporigin_data/types/describe_file_response.py,sha256=
|
85
|
+
deeporigin_data/types/describe_database_response.py,sha256=sWG_m4DAlq3n8KyTPn7028sECAlEqMWpvZ5f2wlTYYQ,261
|
86
|
+
deeporigin_data/types/describe_database_row_response.py,sha256=kZzqPjwcUOX5NejgEoUfjyHnxvO2aDxg8pk7cxRbp4U,277
|
87
|
+
deeporigin_data/types/describe_database_stats_response.py,sha256=ad0let1MLLl6aSndgVZd1Tx4a-3Onihe3_Fyncu6imo,354
|
88
|
+
deeporigin_data/types/describe_file_response.py,sha256=Z3XkOyV-isSg3IHlMxS2iDCjJfiSRvpQ7GNnZb7Z4Fg,241
|
89
89
|
deeporigin_data/types/describe_hierarchy_response.py,sha256=7ET6ebJqcaX8Uk0KmCCSoXaBmPIy173NMpZSQ5K0PZs,590
|
90
|
-
deeporigin_data/types/describe_workspace_response.py,sha256
|
90
|
+
deeporigin_data/types/describe_workspace_response.py,sha256=AeVmkk3D5jAoGq5brK2nSAaXG1avJEdnJiPpbUhloN0,266
|
91
91
|
deeporigin_data/types/ensure_rows_response.py,sha256=O1Uz5e-DO0dHu-_NwRttL_8wuJ7rqFunn-G6AuvY5y0,338
|
92
92
|
deeporigin_data/types/execute_code_async_response.py,sha256=3aMS6SENWG7Kkrew1ft6tRDxscziPnbKdMgT7j79d2M,1143
|
93
93
|
deeporigin_data/types/execute_code_sync_response.py,sha256=oaHWfR_YOHhlYoSGASW8omVCuV4BIwevCkWM4h-eCc4,1141
|
94
|
-
deeporigin_data/types/import_rows_response.py,sha256
|
94
|
+
deeporigin_data/types/import_rows_response.py,sha256=scl-GUdP6LJjXRBwj6PRuU7Xg1Yp-63deTh5Gej-tWw,407
|
95
95
|
deeporigin_data/types/list_database_column_unique_values_v2_response.py,sha256=T8GhFFiYJyYlki0URY0c_YaMAUv2TTmGvpuTq0r2n0E,389
|
96
96
|
deeporigin_data/types/list_database_rows_response.py,sha256=s99W98Cdli8gpqiWKp0yCTraCwPVt2jPiVWjLgloQLU,420
|
97
97
|
deeporigin_data/types/list_files_response.py,sha256=uKDQKAr33pEFNbfXqtPP1d2XMm7Ln5h_2M_55umNjVk,517
|
98
98
|
deeporigin_data/types/list_mentions_response.py,sha256=hAlMq4lpghcDGDY55w5HszSUp9aOKbZzS4e2j617A84,620
|
99
99
|
deeporigin_data/types/list_row_back_references_response.py,sha256=eHbFZrxTkX5usSs0CxWlLVapCX8TyX2Von7dvjJbBiI,112131
|
100
100
|
deeporigin_data/types/list_rows_response.py,sha256=UZMlQTwmbOZyiQgyd3kaQIs2jIf0sK8tAH_I5akh0bQ,572
|
101
|
-
deeporigin_data/types/lock_database_response.py,sha256=
|
101
|
+
deeporigin_data/types/lock_database_response.py,sha256=3oLOecS1qGOWpvE4PRuR9jUC2Cn6z5qJiufXZaAI2OA,253
|
102
102
|
deeporigin_data/types/parse_base_sequence_data_response.py,sha256=O1YuZREMz3mD_hPRRL55JyfUbJ2pklCdc2qdKhRuB3c,734
|
103
103
|
deeporigin_data/types/resolve_ids_response.py,sha256=YQCy_Wuj2tZbgjGdId8DYPtUN2SP1cN81w1KTa5i1xw,955
|
104
|
-
deeporigin_data/types/unlock_database_response.py,sha256=
|
104
|
+
deeporigin_data/types/unlock_database_response.py,sha256=UuppjUK_DLAlx4qrusPlZdELZ0zmrzM97z8BAOUO6X4,257
|
105
105
|
deeporigin_data/types/update_database_column_response.py,sha256=8HJAOQj_PbB7ALL1X6mfEXiN61O-XT8NeERVAy08qZM,34113
|
106
|
-
deeporigin_data/types/update_database_response.py,sha256=
|
107
|
-
deeporigin_data/types/update_workspace_response.py,sha256=
|
106
|
+
deeporigin_data/types/update_database_response.py,sha256=83UkdKP953ji7V3y6JE8XFWs7odwENLaScFdfEBmfmY,257
|
107
|
+
deeporigin_data/types/update_workspace_response.py,sha256=W1rCmzxePp_HvidMGczYdWIeWxr-eZOtfJc3tARakME,262
|
108
108
|
deeporigin_data/types/shared/__init__.py,sha256=pYKaryHlFLkuhKqOrqy-7tuC-5jYgPHZ3McDCyPfFFc,567
|
109
109
|
deeporigin_data/types/shared/add_column_base.py,sha256=U8cpfpPt0zbNbkVEwzU2ckw_XhXdNjQ3fcM12df621c,1184
|
110
110
|
deeporigin_data/types/shared/add_column_union.py,sha256=gVn9S3jFu670Cnr1TTpY_jedCmy3VZGfpNa1JTLTxHU,1031
|
@@ -120,7 +120,7 @@ deeporigin_data/types/shared_params/add_column_base.py,sha256=s8cbOjluJmf4Pzmg_v
|
|
120
120
|
deeporigin_data/types/shared_params/add_column_union.py,sha256=uEJwB-xtbKY19Hq7a2vIrGdDfPcHIBwp9_R63Qf9KO0,1036
|
121
121
|
deeporigin_data/types/shared_params/condition.py,sha256=38ItZ9QZrA3rnXNgds7KZcXCZ-h1zVttiD1R6uf5IGQ,3153
|
122
122
|
deeporigin_data/types/shared_params/row_filter_join.py,sha256=QIo2yhjJJZLcGF-hBF7YcLcYHLhf5uq5EkQG-0WJjtU,595
|
123
|
-
deeporigin_data_sdk-0.1.
|
124
|
-
deeporigin_data_sdk-0.1.
|
125
|
-
deeporigin_data_sdk-0.1.
|
126
|
-
deeporigin_data_sdk-0.1.
|
123
|
+
deeporigin_data_sdk-0.1.0a59.dist-info/METADATA,sha256=NTlL97b5gd5QWrKON1-B1UwFOWwB89-k7pGZMXxDwdo,13775
|
124
|
+
deeporigin_data_sdk-0.1.0a59.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
125
|
+
deeporigin_data_sdk-0.1.0a59.dist-info/licenses/LICENSE,sha256=jT1To9IZ3XdRqtpv8wDrIwpatTUvf5yP0sFYhEtJVZY,11345
|
126
|
+
deeporigin_data_sdk-0.1.0a59.dist-info/RECORD,,
|
File without changes
|
{deeporigin_data_sdk-0.1.0a57.dist-info → deeporigin_data_sdk-0.1.0a59.dist-info}/licenses/LICENSE
RENAMED
File without changes
|