deeporigin-data-sdk 0.1.0a46__py3-none-any.whl → 0.1.0a47__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 +7 -1
- deeporigin_data/_version.py +1 -1
- deeporigin_data/types/shared/condition.py +2 -1
- deeporigin_data/types/shared/row_filter_join.py +1 -1
- deeporigin_data/types/shared_params/condition.py +3 -1
- deeporigin_data/types/shared_params/row_filter_join.py +1 -1
- {deeporigin_data_sdk-0.1.0a46.dist-info → deeporigin_data_sdk-0.1.0a47.dist-info}/METADATA +1 -1
- {deeporigin_data_sdk-0.1.0a46.dist-info → deeporigin_data_sdk-0.1.0a47.dist-info}/RECORD +10 -10
- {deeporigin_data_sdk-0.1.0a46.dist-info → deeporigin_data_sdk-0.1.0a47.dist-info}/WHEEL +0 -0
- {deeporigin_data_sdk-0.1.0a46.dist-info → deeporigin_data_sdk-0.1.0a47.dist-info}/licenses/LICENSE +0 -0
deeporigin_data/_response.py
CHANGED
@@ -210,7 +210,13 @@ class BaseAPIResponse(Generic[R]):
|
|
210
210
|
raise ValueError(f"Subclasses of httpx.Response cannot be passed to `cast_to`")
|
211
211
|
return cast(R, response)
|
212
212
|
|
213
|
-
if
|
213
|
+
if (
|
214
|
+
inspect.isclass(
|
215
|
+
origin # pyright: ignore[reportUnknownArgumentType]
|
216
|
+
)
|
217
|
+
and not issubclass(origin, BaseModel)
|
218
|
+
and issubclass(origin, pydantic.BaseModel)
|
219
|
+
):
|
214
220
|
raise TypeError(
|
215
221
|
"Pydantic models must subclass our base model type, e.g. `from deeporigin_data import BaseModel`"
|
216
222
|
)
|
deeporigin_data/_version.py
CHANGED
@@ -11,7 +11,7 @@ __all__ = ["RowFilterJoin"]
|
|
11
11
|
|
12
12
|
|
13
13
|
class RowFilterJoin(TypedDict, total=False):
|
14
|
-
conditions: Required[Iterable[Condition]]
|
14
|
+
conditions: Required[Iterable["Condition"]]
|
15
15
|
|
16
16
|
filter_type: Required[Annotated[Literal["join"], PropertyInfo(alias="filterType")]]
|
17
17
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: deeporigin_data_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a47
|
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,10 +8,10 @@ deeporigin_data/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,354
|
|
8
8
|
deeporigin_data/_models.py,sha256=B6f-C-F-PbDp3jRKCLksaAS9osC2g1xs7DpoZV1dlUE,28659
|
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=2YDTjeNt93_FXFP8934KDSu28lsXNCgtOv8sSSXQHZ4,28871
|
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=Ji8MEnMJIH5z2e-HbXcKICdeI9An8mxWWr_C0nGFIcU,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
|
@@ -108,19 +108,19 @@ deeporigin_data/types/update_workspace_response.py,sha256=jikZhBFlm8ycxP0z4op-yg
|
|
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
|
111
|
-
deeporigin_data/types/shared/condition.py,sha256=
|
111
|
+
deeporigin_data/types/shared/condition.py,sha256=VnR-uM4UnpU_KiVyWfMW09HXg8C0SozqwzDQvMqPUIM,2843
|
112
112
|
deeporigin_data/types/shared/database.py,sha256=iwUbslESsQyB9TRK_S-592BQ8j-GAPUHderLeaJ0Uug,34258
|
113
113
|
deeporigin_data/types/shared/database_row.py,sha256=kcvB3dqJDIKKc5dPGZ0txF2yqo6QXAziJRRhoYHhdkM,20981
|
114
114
|
deeporigin_data/types/shared/describe_row_response.py,sha256=y41eJRkkLSQrm9A_lvwisBWVHH9_m2qUU6g9Sgp0nbA,538
|
115
115
|
deeporigin_data/types/shared/file.py,sha256=ypKveZM0ya4jWyQUz83J8tpxaSWi2Aq6I_lN2ib8oUs,759
|
116
|
-
deeporigin_data/types/shared/row_filter_join.py,sha256=
|
116
|
+
deeporigin_data/types/shared/row_filter_join.py,sha256=iGMX6qxnWnR3vmvGxCoACnbKWZSiQlgjTy3V1mvfg6A,673
|
117
117
|
deeporigin_data/types/shared/workspace.py,sha256=hrViPgKOrIn5hs9D5vf_Pyl6wcIuhqW1iEzt_fKYqy8,1098
|
118
118
|
deeporigin_data/types/shared_params/__init__.py,sha256=ng9sb1I2DfZ6VrWaVU0sUyR-GhVy1M33I_vWR-VUZkk,316
|
119
119
|
deeporigin_data/types/shared_params/add_column_base.py,sha256=s8cbOjluJmf4Pzmg_v_FzhON6Cgc6T82ZjLHmeEdJhY,1235
|
120
120
|
deeporigin_data/types/shared_params/add_column_union.py,sha256=uEJwB-xtbKY19Hq7a2vIrGdDfPcHIBwp9_R63Qf9KO0,1036
|
121
|
-
deeporigin_data/types/shared_params/condition.py,sha256=
|
122
|
-
deeporigin_data/types/shared_params/row_filter_join.py,sha256=
|
123
|
-
deeporigin_data_sdk-0.1.
|
124
|
-
deeporigin_data_sdk-0.1.
|
125
|
-
deeporigin_data_sdk-0.1.
|
126
|
-
deeporigin_data_sdk-0.1.
|
121
|
+
deeporigin_data/types/shared_params/condition.py,sha256=ftu-hdGv05aTv4GL9bRyf4kQXl27kaPpt3P4KKdwmNM,2723
|
122
|
+
deeporigin_data/types/shared_params/row_filter_join.py,sha256=QIo2yhjJJZLcGF-hBF7YcLcYHLhf5uq5EkQG-0WJjtU,595
|
123
|
+
deeporigin_data_sdk-0.1.0a47.dist-info/METADATA,sha256=aDgchygBPzIu3W9qe-XsoIlS_snS5dYxnGm0gt_rDn4,13402
|
124
|
+
deeporigin_data_sdk-0.1.0a47.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
125
|
+
deeporigin_data_sdk-0.1.0a47.dist-info/licenses/LICENSE,sha256=jT1To9IZ3XdRqtpv8wDrIwpatTUvf5yP0sFYhEtJVZY,11345
|
126
|
+
deeporigin_data_sdk-0.1.0a47.dist-info/RECORD,,
|
File without changes
|
{deeporigin_data_sdk-0.1.0a46.dist-info → deeporigin_data_sdk-0.1.0a47.dist-info}/licenses/LICENSE
RENAMED
File without changes
|