deeporigin-data-sdk 0.1.0a62__py3-none-any.whl → 0.1.0a64__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.
@@ -960,6 +960,9 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
960
960
  if self.custom_auth is not None:
961
961
  kwargs["auth"] = self.custom_auth
962
962
 
963
+ if options.follow_redirects is not None:
964
+ kwargs["follow_redirects"] = options.follow_redirects
965
+
963
966
  log.debug("Sending HTTP Request: %s %s", request.method, request.url)
964
967
 
965
968
  response = None
@@ -1460,6 +1463,9 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
1460
1463
  if self.custom_auth is not None:
1461
1464
  kwargs["auth"] = self.custom_auth
1462
1465
 
1466
+ if options.follow_redirects is not None:
1467
+ kwargs["follow_redirects"] = options.follow_redirects
1468
+
1463
1469
  log.debug("Sending HTTP Request: %s %s", request.method, request.url)
1464
1470
 
1465
1471
  response = None
@@ -3,6 +3,7 @@
3
3
  from __future__ import annotations
4
4
 
5
5
  import os
6
+ import typing_extensions
6
7
  from typing import Any, List, Union, Mapping, Iterable
7
8
  from typing_extensions import Self, Literal, override
8
9
 
@@ -516,6 +517,7 @@ class DeeporiginData(SyncAPIClient):
516
517
  cast_to=ConfigureColumnSelectOptionsResponse,
517
518
  )
518
519
 
520
+ @typing_extensions.deprecated("deprecated")
519
521
  def convert_id_format(
520
522
  self,
521
523
  *,
@@ -1074,6 +1076,7 @@ class DeeporiginData(SyncAPIClient):
1074
1076
  cast_to=DescribeHierarchyResponse,
1075
1077
  )
1076
1078
 
1079
+ @typing_extensions.deprecated("deprecated")
1077
1080
  def describe_row(
1078
1081
  self,
1079
1082
  *,
@@ -2338,6 +2341,7 @@ class AsyncDeeporiginData(AsyncAPIClient):
2338
2341
  cast_to=ConfigureColumnSelectOptionsResponse,
2339
2342
  )
2340
2343
 
2344
+ @typing_extensions.deprecated("deprecated")
2341
2345
  async def convert_id_format(
2342
2346
  self,
2343
2347
  *,
@@ -2904,6 +2908,7 @@ class AsyncDeeporiginData(AsyncAPIClient):
2904
2908
  cast_to=DescribeHierarchyResponse,
2905
2909
  )
2906
2910
 
2911
+ @typing_extensions.deprecated("deprecated")
2907
2912
  async def describe_row(
2908
2913
  self,
2909
2914
  *,
@@ -3822,8 +3827,10 @@ class DeeporiginDataWithRawResponse:
3822
3827
  self.configure_column_select_options = to_raw_response_wrapper(
3823
3828
  client.configure_column_select_options,
3824
3829
  )
3825
- self.convert_id_format = to_raw_response_wrapper(
3826
- client.convert_id_format,
3830
+ self.convert_id_format = ( # pyright: ignore[reportDeprecated]
3831
+ to_raw_response_wrapper(
3832
+ client.convert_id_format # pyright: ignore[reportDeprecated],
3833
+ )
3827
3834
  )
3828
3835
  self.create_database = to_raw_response_wrapper(
3829
3836
  client.create_database,
@@ -3867,8 +3874,10 @@ class DeeporiginDataWithRawResponse:
3867
3874
  self.describe_hierarchy = to_raw_response_wrapper(
3868
3875
  client.describe_hierarchy,
3869
3876
  )
3870
- self.describe_row = to_raw_response_wrapper(
3871
- client.describe_row,
3877
+ self.describe_row = ( # pyright: ignore[reportDeprecated]
3878
+ to_raw_response_wrapper(
3879
+ client.describe_row # pyright: ignore[reportDeprecated],
3880
+ )
3872
3881
  )
3873
3882
  self.describe_workspace = to_raw_response_wrapper(
3874
3883
  client.describe_workspace,
@@ -3956,8 +3965,10 @@ class AsyncDeeporiginDataWithRawResponse:
3956
3965
  self.configure_column_select_options = async_to_raw_response_wrapper(
3957
3966
  client.configure_column_select_options,
3958
3967
  )
3959
- self.convert_id_format = async_to_raw_response_wrapper(
3960
- client.convert_id_format,
3968
+ self.convert_id_format = ( # pyright: ignore[reportDeprecated]
3969
+ async_to_raw_response_wrapper(
3970
+ client.convert_id_format # pyright: ignore[reportDeprecated],
3971
+ )
3961
3972
  )
3962
3973
  self.create_database = async_to_raw_response_wrapper(
3963
3974
  client.create_database,
@@ -4001,8 +4012,10 @@ class AsyncDeeporiginDataWithRawResponse:
4001
4012
  self.describe_hierarchy = async_to_raw_response_wrapper(
4002
4013
  client.describe_hierarchy,
4003
4014
  )
4004
- self.describe_row = async_to_raw_response_wrapper(
4005
- client.describe_row,
4015
+ self.describe_row = ( # pyright: ignore[reportDeprecated]
4016
+ async_to_raw_response_wrapper(
4017
+ client.describe_row # pyright: ignore[reportDeprecated],
4018
+ )
4006
4019
  )
4007
4020
  self.describe_workspace = async_to_raw_response_wrapper(
4008
4021
  client.describe_workspace,
@@ -4090,8 +4103,10 @@ class DeeporiginDataWithStreamedResponse:
4090
4103
  self.configure_column_select_options = to_streamed_response_wrapper(
4091
4104
  client.configure_column_select_options,
4092
4105
  )
4093
- self.convert_id_format = to_streamed_response_wrapper(
4094
- client.convert_id_format,
4106
+ self.convert_id_format = ( # pyright: ignore[reportDeprecated]
4107
+ to_streamed_response_wrapper(
4108
+ client.convert_id_format # pyright: ignore[reportDeprecated],
4109
+ )
4095
4110
  )
4096
4111
  self.create_database = to_streamed_response_wrapper(
4097
4112
  client.create_database,
@@ -4135,8 +4150,10 @@ class DeeporiginDataWithStreamedResponse:
4135
4150
  self.describe_hierarchy = to_streamed_response_wrapper(
4136
4151
  client.describe_hierarchy,
4137
4152
  )
4138
- self.describe_row = to_streamed_response_wrapper(
4139
- client.describe_row,
4153
+ self.describe_row = ( # pyright: ignore[reportDeprecated]
4154
+ to_streamed_response_wrapper(
4155
+ client.describe_row # pyright: ignore[reportDeprecated],
4156
+ )
4140
4157
  )
4141
4158
  self.describe_workspace = to_streamed_response_wrapper(
4142
4159
  client.describe_workspace,
@@ -4224,8 +4241,10 @@ class AsyncDeeporiginDataWithStreamedResponse:
4224
4241
  self.configure_column_select_options = async_to_streamed_response_wrapper(
4225
4242
  client.configure_column_select_options,
4226
4243
  )
4227
- self.convert_id_format = async_to_streamed_response_wrapper(
4228
- client.convert_id_format,
4244
+ self.convert_id_format = ( # pyright: ignore[reportDeprecated]
4245
+ async_to_streamed_response_wrapper(
4246
+ client.convert_id_format # pyright: ignore[reportDeprecated],
4247
+ )
4229
4248
  )
4230
4249
  self.create_database = async_to_streamed_response_wrapper(
4231
4250
  client.create_database,
@@ -4269,8 +4288,10 @@ class AsyncDeeporiginDataWithStreamedResponse:
4269
4288
  self.describe_hierarchy = async_to_streamed_response_wrapper(
4270
4289
  client.describe_hierarchy,
4271
4290
  )
4272
- self.describe_row = async_to_streamed_response_wrapper(
4273
- client.describe_row,
4291
+ self.describe_row = ( # pyright: ignore[reportDeprecated]
4292
+ async_to_streamed_response_wrapper(
4293
+ client.describe_row # pyright: ignore[reportDeprecated],
4294
+ )
4274
4295
  )
4275
4296
  self.describe_workspace = async_to_streamed_response_wrapper(
4276
4297
  client.describe_workspace,
@@ -737,6 +737,7 @@ class FinalRequestOptionsInput(TypedDict, total=False):
737
737
  idempotency_key: str
738
738
  json_data: Body
739
739
  extra_json: AnyMapping
740
+ follow_redirects: bool
740
741
 
741
742
 
742
743
  @final
@@ -750,6 +751,7 @@ class FinalRequestOptions(pydantic.BaseModel):
750
751
  files: Union[HttpxRequestFiles, None] = None
751
752
  idempotency_key: Union[str, None] = None
752
753
  post_parser: Union[Callable[[Any], Any], NotGiven] = NotGiven()
754
+ follow_redirects: Union[bool, None] = None
753
755
 
754
756
  # It should be noted that we cannot use `json` here as that would override
755
757
  # a BaseModel method in an incompatible fashion.
deeporigin_data/_types.py CHANGED
@@ -100,6 +100,7 @@ class RequestOptions(TypedDict, total=False):
100
100
  params: Query
101
101
  extra_json: AnyMapping
102
102
  idempotency_key: str
103
+ follow_redirects: bool
103
104
 
104
105
 
105
106
  # Sentinel class used until PEP 0661 is accepted
@@ -215,3 +216,4 @@ class _GenericAlias(Protocol):
215
216
 
216
217
  class HttpxSendArgs(TypedDict, total=False):
217
218
  auth: httpx.Auth
219
+ follow_redirects: bool
@@ -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.62" # x-release-please-version
4
+ __version__ = "0.1.0-alpha.64" # x-release-please-version
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: deeporigin_data_sdk
3
- Version: 0.1.0a62
3
+ Version: 0.1.0a64
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
@@ -123,10 +123,7 @@ client = DeeporiginData(
123
123
 
124
124
  describe_row_response = client.describe_row(
125
125
  row_id="rowId",
126
- column_selection={
127
- "exclude": ["string"],
128
- "include": ["string"],
129
- },
126
+ column_selection={},
130
127
  )
131
128
  print(describe_row_response.column_selection)
132
129
  ```
@@ -1,17 +1,17 @@
1
1
  deeporigin_data/__init__.py,sha256=_1jHk-ZDjq8xlaketuGzIObYaQy2_sQC44AmxyzI_sM,2644
2
- deeporigin_data/_base_client.py,sha256=NiHxYas3raJrBeEWpgFsEUwAQH3WPEwLe9SlMQTjIOs,64853
3
- deeporigin_data/_client.py,sha256=i5YiMEgcN5kXZ6ChXAVafaPTju7BNwaBT2DK6dvaa-k,170904
2
+ deeporigin_data/_base_client.py,sha256=IAecLLqgJ6Vk5HKP1t0KA7MrTPGn9C5-QIe9zthYS6c,65101
3
+ deeporigin_data/_client.py,sha256=ulANUIkBX3gHIvrpeU1IRCakrx5gIcgD56I0FmwiaXo,171969
4
4
  deeporigin_data/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
5
5
  deeporigin_data/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
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=mB2r2VWQq49jG-F0RIXDrBxPp3v-Eg12wMOtVTNxtv4,29057
8
+ deeporigin_data/_models.py,sha256=G1vczEodX0vUySeVKbF-mbzlaObNL1oVAYH4c65agRk,29131
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=i98w-_OFUAnDfRaLynqu2Qrgh39xKGq9WQ1DK2CueMs,28870
12
12
  deeporigin_data/_streaming.py,sha256=yG857cOSJD3gbc7mEc2wqfvcPVLMGmYX4hBOqqIT5RE,10132
13
- deeporigin_data/_types.py,sha256=HI5vtFJGLEsyOrrWJRSRtUeOSrd8EdoM020wC51GvcI,6152
14
- deeporigin_data/_version.py,sha256=mpSabxtOb10hDxhvbuSuMBsmNchh-EvkJL_s5GPUt4M,176
13
+ deeporigin_data/_types.py,sha256=z_gHfGnZNr7ReZxda_iICWQnmy5anm8-i8lRB3jpRL0,6206
14
+ deeporigin_data/_version.py,sha256=hL4zK2ZkMQR6TuS2Rmvv3d94eGchUsn9CQ-Za34Rey4,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
@@ -121,7 +121,7 @@ deeporigin_data/types/shared_params/add_column_base.py,sha256=s8cbOjluJmf4Pzmg_v
121
121
  deeporigin_data/types/shared_params/add_column_union.py,sha256=uEJwB-xtbKY19Hq7a2vIrGdDfPcHIBwp9_R63Qf9KO0,1036
122
122
  deeporigin_data/types/shared_params/condition.py,sha256=38ItZ9QZrA3rnXNgds7KZcXCZ-h1zVttiD1R6uf5IGQ,3153
123
123
  deeporigin_data/types/shared_params/row_filter_join.py,sha256=QIo2yhjJJZLcGF-hBF7YcLcYHLhf5uq5EkQG-0WJjtU,595
124
- deeporigin_data_sdk-0.1.0a62.dist-info/METADATA,sha256=DxkD2vkZ0PTLfZYRLFzIoH3yoJf-yrNGboGiQPMAQdw,13775
125
- deeporigin_data_sdk-0.1.0a62.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
126
- deeporigin_data_sdk-0.1.0a62.dist-info/licenses/LICENSE,sha256=jT1To9IZ3XdRqtpv8wDrIwpatTUvf5yP0sFYhEtJVZY,11345
127
- deeporigin_data_sdk-0.1.0a62.dist-info/RECORD,,
124
+ deeporigin_data_sdk-0.1.0a64.dist-info/METADATA,sha256=iD_REZey2XDqGKpRisSxLUnxWRGLVx8g6U1fHQ8cOKY,13708
125
+ deeporigin_data_sdk-0.1.0a64.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
126
+ deeporigin_data_sdk-0.1.0a64.dist-info/licenses/LICENSE,sha256=jT1To9IZ3XdRqtpv8wDrIwpatTUvf5yP0sFYhEtJVZY,11345
127
+ deeporigin_data_sdk-0.1.0a64.dist-info/RECORD,,