deeporigin-data-sdk 0.1.0a44__py3-none-any.whl → 0.1.0a46__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.
@@ -179,14 +179,14 @@ class BaseModel(pydantic.BaseModel):
179
179
  @classmethod
180
180
  @override
181
181
  def construct( # pyright: ignore[reportIncompatibleMethodOverride]
182
- cls: Type[ModelT],
182
+ __cls: Type[ModelT],
183
183
  _fields_set: set[str] | None = None,
184
184
  **values: object,
185
185
  ) -> ModelT:
186
- m = cls.__new__(cls)
186
+ m = __cls.__new__(__cls)
187
187
  fields_values: dict[str, object] = {}
188
188
 
189
- config = get_model_config(cls)
189
+ config = get_model_config(__cls)
190
190
  populate_by_name = (
191
191
  config.allow_population_by_field_name
192
192
  if isinstance(config, _ConfigProtocol)
@@ -196,7 +196,7 @@ class BaseModel(pydantic.BaseModel):
196
196
  if _fields_set is None:
197
197
  _fields_set = set()
198
198
 
199
- model_fields = get_model_fields(cls)
199
+ model_fields = get_model_fields(__cls)
200
200
  for name, field in model_fields.items():
201
201
  key = field.alias
202
202
  if key is None or (key not in values and populate_by_name):
@@ -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.44" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.46" # x-release-please-version
@@ -6,7 +6,6 @@ from typing import Union, Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
7
 
8
8
  from .._utils import PropertyInfo
9
- from .shared_params.row_filter_join import RowFilterJoin
10
9
 
11
10
  __all__ = [
12
11
  "ClientDescribeDatabaseStatsParams",
@@ -92,5 +91,7 @@ Filter: TypeAlias = Union[
92
91
  FilterRowFilterNullity,
93
92
  FilterRowFilterSet,
94
93
  FilterRowFilterSubstructure,
95
- RowFilterJoin,
94
+ "RowFilterJoin",
96
95
  ]
96
+
97
+ from .shared_params.row_filter_join import RowFilterJoin
@@ -6,7 +6,6 @@ from typing import List, Union, Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
7
 
8
8
  from .._utils import PropertyInfo
9
- from .shared_params.row_filter_join import RowFilterJoin
10
9
 
11
10
  __all__ = [
12
11
  "ClientExportDatabaseParams",
@@ -112,7 +111,7 @@ Filter: TypeAlias = Union[
112
111
  FilterRowFilterNullity,
113
112
  FilterRowFilterSet,
114
113
  FilterRowFilterSubstructure,
115
- RowFilterJoin,
114
+ "RowFilterJoin",
116
115
  ]
117
116
 
118
117
 
@@ -120,3 +119,6 @@ class RowSort(TypedDict, total=False):
120
119
  column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
121
120
 
122
121
  sort: Required[Literal["asc", "desc"]]
122
+
123
+
124
+ from .shared_params.row_filter_join import RowFilterJoin
@@ -6,7 +6,6 @@ from typing import List, Union, Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
7
 
8
8
  from .._utils import PropertyInfo
9
- from .shared_params.row_filter_join import RowFilterJoin
10
9
 
11
10
  __all__ = [
12
11
  "ClientListDatabaseRowsParams",
@@ -110,7 +109,7 @@ Filter: TypeAlias = Union[
110
109
  FilterRowFilterNullity,
111
110
  FilterRowFilterSet,
112
111
  FilterRowFilterSubstructure,
113
- RowFilterJoin,
112
+ "RowFilterJoin",
114
113
  ]
115
114
 
116
115
 
@@ -118,3 +117,6 @@ class RowSort(TypedDict, total=False):
118
117
  column_id: Required[Annotated[str, PropertyInfo(alias="columnId")]]
119
118
 
120
119
  sort: Required[Literal["asc", "desc"]]
120
+
121
+
122
+ from .shared_params.row_filter_join import RowFilterJoin
@@ -9,7 +9,6 @@ from pydantic import Field as FieldInfo
9
9
 
10
10
  from ..._compat import PYDANTIC_V2
11
11
  from ..._models import BaseModel
12
- from .row_filter_join import RowFilterJoin
13
12
 
14
13
  __all__ = [
15
14
  "Condition",
@@ -89,6 +88,7 @@ Condition: TypeAlias = Union[
89
88
  RowFilterJoin,
90
89
  ]
91
90
 
91
+
92
92
  if PYDANTIC_V2:
93
93
  RowFilterText.model_rebuild()
94
94
  RowFilterNumber.model_rebuild()
@@ -9,7 +9,6 @@ from pydantic import Field as FieldInfo
9
9
 
10
10
  from ..._compat import PYDANTIC_V2
11
11
  from ..._models import BaseModel
12
- from .condition import Condition
13
12
 
14
13
  __all__ = ["RowFilterJoin"]
15
14
 
@@ -22,6 +21,8 @@ class RowFilterJoin(BaseModel):
22
21
  join_type: Literal["and", "or"] = FieldInfo(alias="joinType")
23
22
 
24
23
 
24
+ from .condition import Condition
25
+
25
26
  if PYDANTIC_V2:
26
27
  RowFilterJoin.model_rebuild()
27
28
  else:
@@ -6,7 +6,6 @@ from typing import Union, Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
7
 
8
8
  from ..._utils import PropertyInfo
9
- from .row_filter_join import RowFilterJoin
10
9
 
11
10
  __all__ = [
12
11
  "Condition",
@@ -6,7 +6,6 @@ from typing import Iterable
6
6
  from typing_extensions import Literal, Required, Annotated, TypedDict
7
7
 
8
8
  from ..._utils import PropertyInfo
9
- from .condition import Condition
10
9
 
11
10
  __all__ = ["RowFilterJoin"]
12
11
 
@@ -17,3 +16,6 @@ class RowFilterJoin(TypedDict, total=False):
17
16
  filter_type: Required[Annotated[Literal["join"], PropertyInfo(alias="filterType")]]
18
17
 
19
18
  join_type: Required[Annotated[Literal["and", "or"], PropertyInfo(alias="joinType")]]
19
+
20
+
21
+ from .condition import Condition
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deeporigin_data_sdk
3
- Version: 0.1.0a44
3
+ Version: 0.1.0a46
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=qpmTQHj3NFzkBiSiz0W8MO18UcOOqQPMBucMuBFUx7I,28649
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
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=bVUvih5VCHx8Sw1Z4FFwVP2TRQwZdP2xHWx-XoS6eEQ,176
14
+ deeporigin_data/_version.py,sha256=T8qdy06jjOUIIYn_WNPez2FSaNeaWnY7VVqKpGHHiLk,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
@@ -46,7 +46,7 @@ deeporigin_data/types/client_delete_workspace_params.py,sha256=r_815ExueeGMNkGU5
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
48
  deeporigin_data/types/client_describe_database_row_params.py,sha256=WFa1M40OGmXUAHaxAPOX76Qzkhwz0D6XKdXemG8Ktu8,742
49
- deeporigin_data/types/client_describe_database_stats_params.py,sha256=NunuD2Q1sAR140PGGfmYLR686W6RCJeOg5_SE0qFflM,3039
49
+ deeporigin_data/types/client_describe_database_stats_params.py,sha256=xl6oqaN8SxEHTZQ9mErf5a6qw8dL9x4-N8HRNcttsDc,3042
50
50
  deeporigin_data/types/client_describe_file_params.py,sha256=u9Kzs4L8gXNf4aeQKt_yOcjGWccCa1WcM8J9Mi6m--8,418
51
51
  deeporigin_data/types/client_describe_hierarchy_params.py,sha256=nzjNkFlVGizVjUiTHoADy2hVzA7KkETlNtlmouYKYv4,486
52
52
  deeporigin_data/types/client_describe_row_params.py,sha256=ykhjrmfIeawbYQJcr6-pbkMVAfh3tev7ikzZsOMTh0k,677
@@ -55,11 +55,11 @@ deeporigin_data/types/client_download_file_params.py,sha256=6B-OV4kISwB3oG-UdZPv
55
55
  deeporigin_data/types/client_ensure_rows_params.py,sha256=rS2b2isZ9Kzp_U_z7jECc2Z2mh6HsFyIvsx4rCrvm3M,1407
56
56
  deeporigin_data/types/client_execute_code_async_params.py,sha256=Ohe8X-MGsuf_JzFiyd7_-UdbJn81CKW9UujKKEcOYJw,453
57
57
  deeporigin_data/types/client_execute_code_sync_params.py,sha256=4OUGuc1P5ATJz6ocQuL14te1pU9EZD5ocY9yHY4jUcE,451
58
- deeporigin_data/types/client_export_database_params.py,sha256=g2TvBccXENlxbLAIaL2LX-c_cmwQqBGc5h5hIq3sSzg,3638
58
+ deeporigin_data/types/client_export_database_params.py,sha256=jf-QYfhnNF-hJM2VSDexHFpnRG4DHP_FInjfVS2Rcak,3642
59
59
  deeporigin_data/types/client_get_code_execution_result_params.py,sha256=rtctDcOx0jKB2BiHbrxJZk1KkB9LhlgbGDoO_J3aHhI,346
60
60
  deeporigin_data/types/client_import_rows_params.py,sha256=G7QmOXZRH42cfd_XSHakk2uEcQ1iJlpDV9GlIFb1FfY,12868
61
61
  deeporigin_data/types/client_list_database_column_unique_values_v2_params.py,sha256=k5-FTiFeS30CcSn52CYgdhRM6DliSfh8KqKdq27huz8,524
62
- deeporigin_data/types/client_list_database_rows_params.py,sha256=BJJsIuTBBDTiTuxaqF5HSigv4AQ4DH8r-fi_yhVKqmU,3611
62
+ deeporigin_data/types/client_list_database_rows_params.py,sha256=aVDUuF1Ny-ZeAR_EF91d_l4vMTHEALXoNfEPO77zRCQ,3615
63
63
  deeporigin_data/types/client_list_files_params.py,sha256=DTtBgRGrbTLs7Ekp3sk2sDxpercjKG7lGcUytKYC14Q,692
64
64
  deeporigin_data/types/client_list_mentions_params.py,sha256=vEu9hsEjtkp8045IVl5mKcXM6rjj21PV879i8F4MZMQ,296
65
65
  deeporigin_data/types/client_list_row_back_references_params.py,sha256=JlflftXfNbOT5oGTEznVBGlCteOSUmSXGf5NfvcSzQc,478
@@ -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=EB1OG5Ttx1ZynHMG_3jAeYXzVrT1K5PHuMs5ElDFDQs,2840
111
+ deeporigin_data/types/shared/condition.py,sha256=3fYsDsZzYvvd6ywCo8MpzNxv-KqpbXDXsCGqUqTRTq8,2798
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=mbWT8wbspTGKLzwSi5N4Qidh8AJgJu-iJhn5gSvnRp4,670
116
+ deeporigin_data/types/shared/row_filter_join.py,sha256=0HiEdGxgZpXE8hcPTL77IuxA0Eoa0P2lf_SgIGLqU4E,671
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=5hbTmfZ-94Hk7Pugl_SirBtuexQNVS2moyvh1jqeptw,2720
122
- deeporigin_data/types/shared_params/row_filter_join.py,sha256=IU9uWStuIBpzkAaMR19CVAYfnmaDY-Xj3v3k_RPElq8,591
123
- deeporigin_data_sdk-0.1.0a44.dist-info/METADATA,sha256=Vd07INPRMEHaPIpbsdiuMFKy0syyldFktyRBNfMuwzc,13402
124
- deeporigin_data_sdk-0.1.0a44.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
125
- deeporigin_data_sdk-0.1.0a44.dist-info/licenses/LICENSE,sha256=jT1To9IZ3XdRqtpv8wDrIwpatTUvf5yP0sFYhEtJVZY,11345
126
- deeporigin_data_sdk-0.1.0a44.dist-info/RECORD,,
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,,