You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/ContextualAI/contextual-client-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
6
+
7
+
### Features
8
+
9
+
***api:** update via SDK Studio ([b26af54](https://github.com/ContextualAI/contextual-client-python/commit/b26af545d014d2ebbb0b95786325776a76cf4c37))
10
+
***api:** update via SDK Studio ([993c748](https://github.com/ContextualAI/contextual-client-python/commit/993c74879dc993e1c28f044fd7246bbd09d79a66))
11
+
***api:** update via SDK Studio ([ed4eda6](https://github.com/ContextualAI/contextual-client-python/commit/ed4eda61c3aa6535e6252a69c3a324d5ae996ef7))
12
+
***api:** update via SDK Studio ([89997a9](https://github.com/ContextualAI/contextual-client-python/commit/89997a98ea2019a768dde3d93f101871311185e0))
13
+
***api:** update via SDK Studio ([c4f9a7a](https://github.com/ContextualAI/contextual-client-python/commit/c4f9a7ad111def98c39764d1c4af7c37f4704912))
14
+
***api:** update via SDK Studio ([8ee9b9b](https://github.com/ContextualAI/contextual-client-python/commit/8ee9b9b7fa9ecb74097893b59b670675c399489d))
15
+
***api:** update via SDK Studio ([a116bc0](https://github.com/ContextualAI/contextual-client-python/commit/a116bc03080ff09e0269c995c8e67dc49a8c563f))
16
+
***api:** update via SDK Studio ([ef744ef](https://github.com/ContextualAI/contextual-client-python/commit/ef744ef0f11559c6df063fd68268be0ed646606b))
17
+
***api:** update via SDK Studio ([04d45a7](https://github.com/ContextualAI/contextual-client-python/commit/04d45a7d0d6dddd8b826592146e696264975db37))
18
+
***api:** update via SDK Studio ([5e4dab5](https://github.com/ContextualAI/contextual-client-python/commit/5e4dab55c8763098e750fe58f8501b1e21b08d11))
19
+
***api:** update via SDK Studio ([18443a5](https://github.com/ContextualAI/contextual-client-python/commit/18443a52b8fe05eba8098295cd39f99d36de2d0e))
20
+
***api:** update via SDK Studio ([17ba526](https://github.com/ContextualAI/contextual-client-python/commit/17ba5269a45738e5d7e0a833b887f32465266531))
21
+
***api:** update via SDK Studio ([581ec7e](https://github.com/ContextualAI/contextual-client-python/commit/581ec7e0f55ad14aa72de15bae22d298b25df17d))
22
+
***api:** update via SDK Studio ([9862571](https://github.com/ContextualAI/contextual-client-python/commit/986257157c57188953637bd4b43150a0492babcc))
23
+
***api:** update via SDK Studio ([dedbd4a](https://github.com/ContextualAI/contextual-client-python/commit/dedbd4ad104e03310190ad0776ba959758365c87))
24
+
***api:** update via SDK Studio ([a8bd7a6](https://github.com/ContextualAI/contextual-client-python/commit/a8bd7a6c3b40f03c6732fc5984dd82dd762a371b))
25
+
***api:** update via SDK Studio ([eb46df2](https://github.com/ContextualAI/contextual-client-python/commit/eb46df2656bb40a05d5443f148529b2945cba2e6))
26
+
***api:** update via SDK Studio ([d72e3cf](https://github.com/ContextualAI/contextual-client-python/commit/d72e3cfee20d002616d1f17412e919495b051e79))
27
+
***api:** update via SDK Studio ([3d1cde0](https://github.com/ContextualAI/contextual-client-python/commit/3d1cde029bf1c7de64d82a18ce4a87097c0065c0))
28
+
***api:** update via SDK Studio ([6cb72bf](https://github.com/ContextualAI/contextual-client-python/commit/6cb72bf6f0b8e4f14c15e4a8c6eac91dffce3358))
29
+
***api:** update via SDK Studio ([73639c4](https://github.com/ContextualAI/contextual-client-python/commit/73639c4a11978159b2a1fbf7b5d849a6358852dc))
30
+
***api:** update via SDK Studio ([3c4ff11](https://github.com/ContextualAI/contextual-client-python/commit/3c4ff11698404e2e391a8194b58a147b5b2a373a))
31
+
* use customized prism-cli from npm. ([86d8b36](https://github.com/ContextualAI/contextual-client-python/commit/86d8b36c7d99031057b5d16ad77d0fa3f54b0861))
32
+
33
+
34
+
### Bug Fixes
35
+
36
+
***client:** only call .close() when needed ([e9f24af](https://github.com/ContextualAI/contextual-client-python/commit/e9f24af4d134d7919fde20dde45c928e8dc14680))
* add universal flag to lock files. ([c745c46](https://github.com/ContextualAI/contextual-client-python/commit/c745c46eb528a52fc3c174ce91ca93177db533f8))
***internal:** add support for TypeAliasType ([8954c97](https://github.com/ContextualAI/contextual-client-python/commit/8954c972f145f840a75fda49e0fd842d2dcce024))
***internal:** codegen related update ([6208f37](https://github.com/ContextualAI/contextual-client-python/commit/6208f37ebeda115283e07d7b497291bb105ae822))
51
+
***internal:** codegen related update ([2c55602](https://github.com/ContextualAI/contextual-client-python/commit/2c556026684cc39ea763c67a26f3860529246f88))
52
+
***internal:** codegen related update ([c90698a](https://github.com/ContextualAI/contextual-client-python/commit/c90698a2e6c51f1524c6f34cf599164309141eec))
53
+
***internal:** codegen related update ([215c573](https://github.com/ContextualAI/contextual-client-python/commit/215c573ac64e31481c41f2635e908197b32da724))
54
+
***internal:** codegen related update ([e943905](https://github.com/ContextualAI/contextual-client-python/commit/e9439056db5b3753011ecd1a2c944588e8405fbd))
55
+
***internal:** fix some typos ([beafdbd](https://github.com/ContextualAI/contextual-client-python/commit/beafdbdd47fd466c76130dc1f72e7829edd76f39))
***readme:** example snippet for client context manager ([fd9d286](https://github.com/ContextualAI/contextual-client-python/commit/fd9d2869b622ea1633b4ffd013d0ce2d090d03c8))
64
+
***readme:** fix http client proxies example ([cca1f66](https://github.com/ContextualAI/contextual-client-python/commit/cca1f6666835843fbb560124667371f938d4e499))
Alternatively, you can build from source and install the wheel file:
@@ -121,7 +121,7 @@ the changes aren't made through the automated pipeline, you may want to make rel
121
121
122
122
### Publish with a GitHub workflow
123
123
124
-
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/stainless-sdks/sunrise-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
124
+
You can release to package managers by using [the `Publish PyPI` GitHub action](https://www.github.com/ContextualAI/contextual-client-python/actions/workflows/publish-pypi.yml). This requires a setup organization or repository secret to be set up.
application= response.parse() # get the object that `applications.create()` would have returned
279
-
print(application.application_id)
275
+
agent= response.parse() # get the object that `agents.create()` would have returned
276
+
print(agent.id)
280
277
```
281
278
282
-
These methods return an [`APIResponse`](https://github.com/stainless-sdks/sunrise-python/tree/main/src/contextual/_response.py) object.
279
+
These methods return an [`APIResponse`](https://github.com/ContextualAI/contextual-client-python/tree/main/src/contextual/_response.py) object.
283
280
284
-
The async client returns an [`AsyncAPIResponse`](https://github.com/stainless-sdks/sunrise-python/tree/main/src/contextual/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
281
+
The async client returns an [`AsyncAPIResponse`](https://github.com/ContextualAI/contextual-client-python/tree/main/src/contextual/_response.py) with the same structure, the only difference being `await`able methods for reading the response content.
285
282
286
283
#### `.with_streaming_response`
287
284
@@ -290,7 +287,7 @@ The above interface eagerly reads the full response body when you make the reque
290
287
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
291
288
292
289
```python
293
-
with client.applications.with_streaming_response.create(
290
+
with client.agents.with_streaming_response.create(
294
291
name="xxx",
295
292
) as response:
296
293
print(response.headers.get("X-My-Header"))
@@ -387,7 +384,7 @@ This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) con
387
384
388
385
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
389
386
390
-
We are keen for your feedback; please open an [issue](https://www.github.com/stainless-sdks/sunrise-python/issues) with questions, bugs, or suggestions.
387
+
We are keen for your feedback; please open an [issue](https://www.github.com/ContextualAI/contextual-client-python/issues) with questions, bugs, or suggestions.
0 commit comments