isaacus 0.6.1__py3-none-any.whl → 0.7.0__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.
- isaacus/_base_client.py +6 -0
- isaacus/_models.py +2 -0
- isaacus/_types.py +2 -0
- isaacus/_version.py +1 -1
- {isaacus-0.6.1.dist-info → isaacus-0.7.0.dist-info}/METADATA +1 -1
- {isaacus-0.6.1.dist-info → isaacus-0.7.0.dist-info}/RECORD +8 -8
- {isaacus-0.6.1.dist-info → isaacus-0.7.0.dist-info}/WHEEL +0 -0
- {isaacus-0.6.1.dist-info → isaacus-0.7.0.dist-info}/licenses/LICENSE +0 -0
isaacus/_base_client.py
CHANGED
@@ -935,6 +935,9 @@ class SyncAPIClient(BaseClient[httpx.Client, Stream[Any]]):
|
|
935
935
|
if self.custom_auth is not None:
|
936
936
|
kwargs["auth"] = self.custom_auth
|
937
937
|
|
938
|
+
if options.follow_redirects is not None:
|
939
|
+
kwargs["follow_redirects"] = options.follow_redirects
|
940
|
+
|
938
941
|
log.debug("Sending HTTP Request: %s %s", request.method, request.url)
|
939
942
|
|
940
943
|
response = None
|
@@ -1435,6 +1438,9 @@ class AsyncAPIClient(BaseClient[httpx.AsyncClient, AsyncStream[Any]]):
|
|
1435
1438
|
if self.custom_auth is not None:
|
1436
1439
|
kwargs["auth"] = self.custom_auth
|
1437
1440
|
|
1441
|
+
if options.follow_redirects is not None:
|
1442
|
+
kwargs["follow_redirects"] = options.follow_redirects
|
1443
|
+
|
1438
1444
|
log.debug("Sending HTTP Request: %s %s", request.method, request.url)
|
1439
1445
|
|
1440
1446
|
response = None
|
isaacus/_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.
|
isaacus/_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
|
isaacus/_version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: isaacus
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.7.0
|
4
4
|
Summary: The official Python library for the isaacus API
|
5
5
|
Project-URL: Homepage, https://github.com/isaacus-dev/isaacus-python
|
6
6
|
Project-URL: Repository, https://github.com/isaacus-dev/isaacus-python
|
@@ -1,17 +1,17 @@
|
|
1
1
|
isaacus/__init__.py,sha256=wr6ddQI6xaQxDY-GoGzbBSqxrHcTB0JXRu35iJSo4f8,2537
|
2
|
-
isaacus/_base_client.py,sha256=
|
2
|
+
isaacus/_base_client.py,sha256=4cPf94bP0zv3pFpiqMmUBwhHlHBCrBSOYY88AbKDksw,64303
|
3
3
|
isaacus/_client.py,sha256=-2sN8vyAm_qN2P6JuLxKel6BfvA6mragbo4TPOwLs3Y,16544
|
4
4
|
isaacus/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
5
5
|
isaacus/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
6
6
|
isaacus/_exceptions.py,sha256=L82uluhizzc94VydHIaJkNxkcG-2DAe74tNhrE2eN2A,3222
|
7
7
|
isaacus/_files.py,sha256=mf4dOgL4b0ryyZlbqLhggD3GVgDf6XxdGFAgce01ugE,3549
|
8
|
-
isaacus/_models.py,sha256=
|
8
|
+
isaacus/_models.py,sha256=G1vczEodX0vUySeVKbF-mbzlaObNL1oVAYH4c65agRk,29131
|
9
9
|
isaacus/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
10
10
|
isaacus/_resource.py,sha256=iP_oYhz5enCI58mK7hlwLoPMPh4Q5s8-KBv-jGfv2aM,1106
|
11
11
|
isaacus/_response.py,sha256=aXLF5ia58bjjQXTxY574lh7JfKXiGL2tDTX09klm8lw,28794
|
12
12
|
isaacus/_streaming.py,sha256=tMBfwrfEFWm0v7vWFgjn_lizsoD70lPkYigIBuADaCM,10104
|
13
|
-
isaacus/_types.py,sha256=
|
14
|
-
isaacus/_version.py,sha256=
|
13
|
+
isaacus/_types.py,sha256=OWOeOlYfnHj59_Lq34ua9FIuR_UTSHQzo4SxlaQBS9Y,6198
|
14
|
+
isaacus/_version.py,sha256=T4jgs92KgNCXwGSB02V-Ww6bGqKAhpv3rhgIGXeFzik,159
|
15
15
|
isaacus/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
isaacus/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
17
17
|
isaacus/_utils/_logs.py,sha256=rwa1Yzjbs2JaFn9KQ06rH5c_GSNa--BVwWnWhvvT1tY,777
|
@@ -41,7 +41,7 @@ isaacus/types/classifications/universal_create_params.py,sha256=0RYreNEY9j5BqxJL
|
|
41
41
|
isaacus/types/extractions/__init__.py,sha256=9FahSE48xCUSAdkb1DaqRBBznuQ805lmRdlY22iLtQw,254
|
42
42
|
isaacus/types/extractions/answer_extraction.py,sha256=KIqfIsdlYAAjDDwzM8XuFOW_1u5zv34RWbIa3WchBxc,2152
|
43
43
|
isaacus/types/extractions/qa_create_params.py,sha256=iaGIDnuJ8Kek5jW6QMQdbAQJYYiihcjZ1k_iSDbt1Mk,2065
|
44
|
-
isaacus-0.
|
45
|
-
isaacus-0.
|
46
|
-
isaacus-0.
|
47
|
-
isaacus-0.
|
44
|
+
isaacus-0.7.0.dist-info/METADATA,sha256=euCR5dIMRQIuLm1s_y99cbgf2j6ACw-NxmDAE9EzTbE,14346
|
45
|
+
isaacus-0.7.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
46
|
+
isaacus-0.7.0.dist-info/licenses/LICENSE,sha256=lUen4LYVFVGEVXBsntBAPsQsOWgMkno1e9WfgWkpZ-k,11337
|
47
|
+
isaacus-0.7.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|