deeporigin-data-sdk 0.1.0a63__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.
- deeporigin_data/_base_client.py +6 -0
- deeporigin_data/_models.py +2 -0
- deeporigin_data/_types.py +2 -0
- deeporigin_data/_version.py +1 -1
- {deeporigin_data_sdk-0.1.0a63.dist-info → deeporigin_data_sdk-0.1.0a64.dist-info}/METADATA +2 -5
- {deeporigin_data_sdk-0.1.0a63.dist-info → deeporigin_data_sdk-0.1.0a64.dist-info}/RECORD +8 -8
- {deeporigin_data_sdk-0.1.0a63.dist-info → deeporigin_data_sdk-0.1.0a64.dist-info}/WHEEL +0 -0
- {deeporigin_data_sdk-0.1.0a63.dist-info → deeporigin_data_sdk-0.1.0a64.dist-info}/licenses/LICENSE +0 -0
deeporigin_data/_base_client.py
CHANGED
@@ -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
|
deeporigin_data/_models.py
CHANGED
@@ -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
|
deeporigin_data/_version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: deeporigin_data_sdk
|
3
|
-
Version: 0.1.
|
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=
|
2
|
+
deeporigin_data/_base_client.py,sha256=IAecLLqgJ6Vk5HKP1t0KA7MrTPGn9C5-QIe9zthYS6c,65101
|
3
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=
|
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=
|
14
|
-
deeporigin_data/_version.py,sha256=
|
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.
|
125
|
-
deeporigin_data_sdk-0.1.
|
126
|
-
deeporigin_data_sdk-0.1.
|
127
|
-
deeporigin_data_sdk-0.1.
|
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,,
|
File without changes
|
{deeporigin_data_sdk-0.1.0a63.dist-info → deeporigin_data_sdk-0.1.0a64.dist-info}/licenses/LICENSE
RENAMED
File without changes
|