vellum-ai 0.14.52__py3-none-any.whl → 0.14.53__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.
- vellum/client/__init__.py +12 -24
- vellum/client/core/client_wrapper.py +1 -1
- vellum/client/resources/workflows/client.py +2 -1
- {vellum_ai-0.14.52.dist-info → vellum_ai-0.14.53.dist-info}/METADATA +1 -1
- {vellum_ai-0.14.52.dist-info → vellum_ai-0.14.53.dist-info}/RECORD +8 -8
- {vellum_ai-0.14.52.dist-info → vellum_ai-0.14.53.dist-info}/LICENSE +0 -0
- {vellum_ai-0.14.52.dist-info → vellum_ai-0.14.53.dist-info}/WHEEL +0 -0
- {vellum_ai-0.14.52.dist-info → vellum_ai-0.14.53.dist-info}/entry_points.txt +0 -0
vellum/client/__init__.py
CHANGED
@@ -133,15 +133,11 @@ class Vellum:
|
|
133
133
|
self._client_wrapper = SyncClientWrapper(
|
134
134
|
environment=environment,
|
135
135
|
api_key=api_key,
|
136
|
-
httpx_client=
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
if follow_redirects is not None
|
142
|
-
else httpx.Client(timeout=_defaulted_timeout)
|
143
|
-
)
|
144
|
-
),
|
136
|
+
httpx_client=httpx_client
|
137
|
+
if httpx_client is not None
|
138
|
+
else httpx.Client(timeout=_defaulted_timeout, follow_redirects=follow_redirects)
|
139
|
+
if follow_redirects is not None
|
140
|
+
else httpx.Client(timeout=_defaulted_timeout),
|
145
141
|
timeout=_defaulted_timeout,
|
146
142
|
)
|
147
143
|
self.ad_hoc = AdHocClient(client_wrapper=self._client_wrapper)
|
@@ -1446,9 +1442,7 @@ class Vellum:
|
|
1446
1442
|
method="POST",
|
1447
1443
|
json={
|
1448
1444
|
"actuals": convert_and_respect_annotation_metadata(
|
1449
|
-
object_=actuals,
|
1450
|
-
annotation=typing.Sequence[SubmitWorkflowExecutionActualRequest],
|
1451
|
-
direction="write",
|
1445
|
+
object_=actuals, annotation=typing.Sequence[SubmitWorkflowExecutionActualRequest], direction="write"
|
1452
1446
|
),
|
1453
1447
|
"execution_id": execution_id,
|
1454
1448
|
"external_id": external_id,
|
@@ -1515,15 +1509,11 @@ class AsyncVellum:
|
|
1515
1509
|
self._client_wrapper = AsyncClientWrapper(
|
1516
1510
|
environment=environment,
|
1517
1511
|
api_key=api_key,
|
1518
|
-
httpx_client=
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
if follow_redirects is not None
|
1524
|
-
else httpx.AsyncClient(timeout=_defaulted_timeout)
|
1525
|
-
)
|
1526
|
-
),
|
1512
|
+
httpx_client=httpx_client
|
1513
|
+
if httpx_client is not None
|
1514
|
+
else httpx.AsyncClient(timeout=_defaulted_timeout, follow_redirects=follow_redirects)
|
1515
|
+
if follow_redirects is not None
|
1516
|
+
else httpx.AsyncClient(timeout=_defaulted_timeout),
|
1527
1517
|
timeout=_defaulted_timeout,
|
1528
1518
|
)
|
1529
1519
|
self.ad_hoc = AsyncAdHocClient(client_wrapper=self._client_wrapper)
|
@@ -2916,9 +2906,7 @@ class AsyncVellum:
|
|
2916
2906
|
method="POST",
|
2917
2907
|
json={
|
2918
2908
|
"actuals": convert_and_respect_annotation_metadata(
|
2919
|
-
object_=actuals,
|
2920
|
-
annotation=typing.Sequence[SubmitWorkflowExecutionActualRequest],
|
2921
|
-
direction="write",
|
2909
|
+
object_=actuals, annotation=typing.Sequence[SubmitWorkflowExecutionActualRequest], direction="write"
|
2922
2910
|
),
|
2923
2911
|
"execution_id": execution_id,
|
2924
2912
|
"external_id": external_id,
|
@@ -18,7 +18,7 @@ class BaseClientWrapper:
|
|
18
18
|
headers: typing.Dict[str, str] = {
|
19
19
|
"X-Fern-Language": "Python",
|
20
20
|
"X-Fern-SDK-Name": "vellum-ai",
|
21
|
-
"X-Fern-SDK-Version": "0.14.
|
21
|
+
"X-Fern-SDK-Version": "0.14.53",
|
22
22
|
}
|
23
23
|
headers["X-API-KEY"] = self.api_key
|
24
24
|
return headers
|
@@ -69,7 +69,8 @@ class WorkflowsClient:
|
|
69
69
|
try:
|
70
70
|
if 200 <= _response.status_code < 300:
|
71
71
|
_chunk_size = request_options.get("chunk_size", None) if request_options is not None else None
|
72
|
-
|
72
|
+
for _chunk in _response.iter_bytes(chunk_size=_chunk_size):
|
73
|
+
yield _chunk
|
73
74
|
return
|
74
75
|
_response.read()
|
75
76
|
if _response.status_code == 400:
|
@@ -130,10 +130,10 @@ vellum_ee/workflows/tests/test_server.py,sha256=SsOkS6sGO7uGC4mxvk4iv8AtcXs058P9
|
|
130
130
|
vellum_ee/workflows/tests/test_virtual_files.py,sha256=TJEcMR0v2S8CkloXNmCHA0QW0K6pYNGaIjraJz7sFvY,2762
|
131
131
|
vellum/__init__.py,sha256=Hqfl49WZJzzqOKzVsTGi-j9twIqFOoRmACJsrEsjL44,41918
|
132
132
|
vellum/client/README.md,sha256=qmaVIP42MnxAu8jV7u-CsgVFfs3-pHQODrXdZdFxtaw,4749
|
133
|
-
vellum/client/__init__.py,sha256=
|
133
|
+
vellum/client/__init__.py,sha256=PEnFl7LbXQcvAi3bVN2qyt5xm2FtVtq7xWKkcWM3Tg4,120166
|
134
134
|
vellum/client/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
|
135
135
|
vellum/client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
136
|
-
vellum/client/core/client_wrapper.py,sha256=
|
136
|
+
vellum/client/core/client_wrapper.py,sha256=UPFYm3-GgbhlDGHG7qlxCpHlYyCIlwqLut0VIw8bDk0,1869
|
137
137
|
vellum/client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
138
138
|
vellum/client/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
139
139
|
vellum/client/core/http_client.py,sha256=Z77OIxIbL4OAB2IDqjRq_sYa5yNYAWfmdhdCSSvh6Y4,19552
|
@@ -196,7 +196,7 @@ vellum/client/resources/workflow_sandboxes/client.py,sha256=XfMcbvSTF1_iTGIXsk1F
|
|
196
196
|
vellum/client/resources/workflow_sandboxes/types/__init__.py,sha256=EaGVRU1w6kJiiHrbZOeEa0c3ggjfgv_jBqsyOkCRWOI,212
|
197
197
|
vellum/client/resources/workflow_sandboxes/types/list_workflow_sandbox_examples_request_tag.py,sha256=TEwWit20W3X-zWPPLAhmUG05UudG9gaBSJ4Q4-rNJws,188
|
198
198
|
vellum/client/resources/workflows/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
199
|
-
vellum/client/resources/workflows/client.py,sha256=
|
199
|
+
vellum/client/resources/workflows/client.py,sha256=uDC61aybVmgxPiLKuLpAB-fK3sagnFFX06zzmQngInA,11285
|
200
200
|
vellum/client/resources/workspace_secrets/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
201
201
|
vellum/client/resources/workspace_secrets/client.py,sha256=zlBdbeTP6sqvtyl_DlrpfG-W5hSP7tJ1NYLSygi4CLU,8205
|
202
202
|
vellum/client/resources/workspaces/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
@@ -1707,8 +1707,8 @@ vellum/workflows/workflows/event_filters.py,sha256=GSxIgwrX26a1Smfd-6yss2abGCnad
|
|
1707
1707
|
vellum/workflows/workflows/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1708
1708
|
vellum/workflows/workflows/tests/test_base_workflow.py,sha256=8P5YIsNMO78_CR1NNK6wkEdkMB4b3Q_Ni1qxh78OnHo,20481
|
1709
1709
|
vellum/workflows/workflows/tests/test_context.py,sha256=VJBUcyWVtMa_lE5KxdhgMu0WYNYnUQUDvTF7qm89hJ0,2333
|
1710
|
-
vellum_ai-0.14.
|
1711
|
-
vellum_ai-0.14.
|
1712
|
-
vellum_ai-0.14.
|
1713
|
-
vellum_ai-0.14.
|
1714
|
-
vellum_ai-0.14.
|
1710
|
+
vellum_ai-0.14.53.dist-info/LICENSE,sha256=hOypcdt481qGNISA784bnAGWAE6tyIf9gc2E78mYC3E,1574
|
1711
|
+
vellum_ai-0.14.53.dist-info/METADATA,sha256=6sVp5uF3Vqk4PsjvJtN8hYVk_I_SXciihRRIrcHSnRE,5484
|
1712
|
+
vellum_ai-0.14.53.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
1713
|
+
vellum_ai-0.14.53.dist-info/entry_points.txt,sha256=HCH4yc_V3J_nDv3qJzZ_nYS8llCHZViCDP1ejgCc5Ak,42
|
1714
|
+
vellum_ai-0.14.53.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|