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.
@@ -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 inspect.isclass(origin) and not issubclass(origin, BaseModel) and issubclass(origin, pydantic.BaseModel):
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
  )
@@ -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.46" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.47" # x-release-please-version
@@ -85,9 +85,10 @@ Condition: TypeAlias = Union[
85
85
  RowFilterNullity,
86
86
  RowFilterSet,
87
87
  RowFilterSubstructure,
88
- RowFilterJoin,
88
+ "RowFilterJoin",
89
89
  ]
90
90
 
91
+ from .row_filter_join import RowFilterJoin
91
92
 
92
93
  if PYDANTIC_V2:
93
94
  RowFilterText.model_rebuild()
@@ -14,7 +14,7 @@ __all__ = ["RowFilterJoin"]
14
14
 
15
15
 
16
16
  class RowFilterJoin(BaseModel):
17
- conditions: List[Condition]
17
+ conditions: List["Condition"]
18
18
 
19
19
  filter_type: Literal["join"] = FieldInfo(alias="filterType")
20
20
 
@@ -84,5 +84,7 @@ Condition: TypeAlias = Union[
84
84
  RowFilterNullity,
85
85
  RowFilterSet,
86
86
  RowFilterSubstructure,
87
- RowFilterJoin,
87
+ "RowFilterJoin",
88
88
  ]
89
+
90
+ from .row_filter_join import RowFilterJoin
@@ -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.0a46
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=Kj-Zi9_3rAr8jDDHy2yTG8SCMF2a7dilTyE-yQO7pag,28747
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=T8qdy06jjOUIIYn_WNPez2FSaNeaWnY7VVqKpGHHiLk,176
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=3fYsDsZzYvvd6ywCo8MpzNxv-KqpbXDXsCGqUqTRTq8,2798
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=0HiEdGxgZpXE8hcPTL77IuxA0Eoa0P2lf_SgIGLqU4E,671
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=0VNrqLIRwWDCNUShfe1fTLWlXV50lDDDXmc4UOnHYgc,2677
122
- deeporigin_data/types/shared_params/row_filter_join.py,sha256=nZDZaSDjuzuKAVdj56_ldihp5vcOQ9xe6h9p_DvzU_M,593
123
- deeporigin_data_sdk-0.1.0a46.dist-info/METADATA,sha256=JSC_Mopnk7evBXQ7uVJoFD-EIdmh_SR2m13PYZ59xvs,13402
124
- deeporigin_data_sdk-0.1.0a46.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
125
- deeporigin_data_sdk-0.1.0a46.dist-info/licenses/LICENSE,sha256=jT1To9IZ3XdRqtpv8wDrIwpatTUvf5yP0sFYhEtJVZY,11345
126
- deeporigin_data_sdk-0.1.0a46.dist-info/RECORD,,
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,,