deeporigin-data-sdk 0.1.0a41__py3-none-any.whl → 0.1.0a42__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/_models.py +5 -1
- deeporigin_data/_version.py +1 -1
- {deeporigin_data_sdk-0.1.0a41.dist-info → deeporigin_data_sdk-0.1.0a42.dist-info}/METADATA +1 -1
- {deeporigin_data_sdk-0.1.0a41.dist-info → deeporigin_data_sdk-0.1.0a42.dist-info}/RECORD +6 -6
- {deeporigin_data_sdk-0.1.0a41.dist-info → deeporigin_data_sdk-0.1.0a42.dist-info}/WHEEL +0 -0
- {deeporigin_data_sdk-0.1.0a41.dist-info → deeporigin_data_sdk-0.1.0a42.dist-info}/licenses/LICENSE +0 -0
deeporigin_data/_models.py
CHANGED
@@ -488,7 +488,11 @@ def construct_type(*, value: object, type_: object) -> object:
|
|
488
488
|
_, items_type = get_args(type_) # Dict[_, items_type]
|
489
489
|
return {key: construct_type(value=item, type_=items_type) for key, item in value.items()}
|
490
490
|
|
491
|
-
if
|
491
|
+
if (
|
492
|
+
not is_literal_type(type_)
|
493
|
+
and inspect.isclass(origin)
|
494
|
+
and (issubclass(origin, BaseModel) or issubclass(origin, GenericModel))
|
495
|
+
):
|
492
496
|
if is_list(value):
|
493
497
|
return [cast(Any, type_).construct(**entry) if is_mapping(entry) else entry for entry in value]
|
494
498
|
|
deeporigin_data/_version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: deeporigin_data_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a42
|
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
|
@@ -5,13 +5,13 @@ deeporigin_data/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,65
|
|
5
5
|
deeporigin_data/_constants.py,sha256=JE8kyZa2Q4NK_i4fO--8siEYTzeHnT0fYbOFDgDP4uk,464
|
6
6
|
deeporigin_data/_exceptions.py,sha256=_25MmrwuBf1sxAJESpY5sPn1o5E-aUymr6wDuRSWIng,3236
|
7
7
|
deeporigin_data/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
|
8
|
-
deeporigin_data/_models.py,sha256=
|
8
|
+
deeporigin_data/_models.py,sha256=qpmTQHj3NFzkBiSiz0W8MO18UcOOqQPMBucMuBFUx7I,28649
|
9
9
|
deeporigin_data/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
10
10
|
deeporigin_data/_resource.py,sha256=tkm4gF9YRotE93j48jTDBSGs8wyVa0E5NS9fj19e38c,1148
|
11
11
|
deeporigin_data/_response.py,sha256=Kj-Zi9_3rAr8jDDHy2yTG8SCMF2a7dilTyE-yQO7pag,28747
|
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=J-8KGqB6GUvHW0ldlm2OndB0el4hQCwIFr49y_TlKNo,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
|
@@ -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=5hbTmfZ-94Hk7Pugl_SirBtuexQNVS2moyvh1jqeptw,2720
|
122
122
|
deeporigin_data/types/shared_params/row_filter_join.py,sha256=IU9uWStuIBpzkAaMR19CVAYfnmaDY-Xj3v3k_RPElq8,591
|
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.0a42.dist-info/METADATA,sha256=vgq14IgASU6O5lvkonSMmO2Qu8jX7IDkef7hjKLgXXY,13421
|
124
|
+
deeporigin_data_sdk-0.1.0a42.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
125
|
+
deeporigin_data_sdk-0.1.0a42.dist-info/licenses/LICENSE,sha256=jT1To9IZ3XdRqtpv8wDrIwpatTUvf5yP0sFYhEtJVZY,11345
|
126
|
+
deeporigin_data_sdk-0.1.0a42.dist-info/RECORD,,
|
File without changes
|
{deeporigin_data_sdk-0.1.0a41.dist-info → deeporigin_data_sdk-0.1.0a42.dist-info}/licenses/LICENSE
RENAMED
File without changes
|