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
* chore: rebuild project due to codegen change (#63)
* feat(api): api update (#65)
* chore: rebuild project due to codegen change (#66)
* fix(asyncify): avoid hanging process under certain conditions (#67)
* chore(internal): fix compat model_dump method when warnings are passed (#68)
* docs: add info log level to readme (#69)
* chore: remove now unused `cached-property` dep (#70)
* chore(internal): exclude mypy from running on tests (#71)
* fix(client): compat with new httpx 0.28.0 release (#72)
* feat(api): api update (#73)
* chore(internal): bump pyright (#74)
* chore: make the `Omit` type public (#75)
* release: 0.3.0
---------
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,36 @@
1
1
# Changelog
2
2
3
+
## 0.3.0 (2024-12-04)
4
+
5
+
Full Changelog: [v0.2.0...v0.3.0](https://github.com/riza-io/riza-api-python/compare/v0.2.0...v0.3.0)
6
+
7
+
### Features
8
+
9
+
***api:** api update ([#65](https://github.com/riza-io/riza-api-python/issues/65)) ([eba3a1f](https://github.com/riza-io/riza-api-python/commit/eba3a1f7707ac227cb6aea17fa9a01eaf7a2ceb6))
10
+
***api:** api update ([#73](https://github.com/riza-io/riza-api-python/issues/73)) ([ed2dce2](https://github.com/riza-io/riza-api-python/commit/ed2dce226c51ad686d5ac3f16eb415219f49e3d8))
11
+
12
+
13
+
### Bug Fixes
14
+
15
+
***asyncify:** avoid hanging process under certain conditions ([#67](https://github.com/riza-io/riza-api-python/issues/67)) ([21f1add](https://github.com/riza-io/riza-api-python/commit/21f1add3810506b951b26234794e2e9861de746a))
16
+
***client:** compat with new httpx 0.28.0 release ([#72](https://github.com/riza-io/riza-api-python/issues/72)) ([23c7fc1](https://github.com/riza-io/riza-api-python/commit/23c7fc19abd259d6079e21dc4bca7214e5b93eee))
***internal:** exclude mypy from running on tests ([#71](https://github.com/riza-io/riza-api-python/issues/71)) ([eb486dd](https://github.com/riza-io/riza-api-python/commit/eb486dd086c91bf95ed2a6832eee87814520bddb))
23
+
***internal:** fix compat model_dump method when warnings are passed ([#68](https://github.com/riza-io/riza-api-python/issues/68)) ([97dfabe](https://github.com/riza-io/riza-api-python/commit/97dfabe83694b0e25374bb4b092e3d4d9c8aa3d3))
24
+
* make the `Omit` type public ([#75](https://github.com/riza-io/riza-api-python/issues/75)) ([fb119ae](https://github.com/riza-io/riza-api-python/commit/fb119aee18caca678e0d9b9ef0cb9d87e825e04c))
25
+
* rebuild project due to codegen change ([#63](https://github.com/riza-io/riza-api-python/issues/63)) ([ddd46bc](https://github.com/riza-io/riza-api-python/commit/ddd46bc6dfb9e423aacc494b6a2a2205800d6ac5))
26
+
* rebuild project due to codegen change ([#66](https://github.com/riza-io/riza-api-python/issues/66)) ([d9dc13d](https://github.com/riza-io/riza-api-python/commit/d9dc13d8e1f112c70ece5466346d3e0dfabe6a75))
27
+
* remove now unused `cached-property` dep ([#70](https://github.com/riza-io/riza-api-python/issues/70)) ([767194b](https://github.com/riza-io/riza-api-python/commit/767194b1bf69905470c1d949118471f3fbca2934))
28
+
29
+
30
+
### Documentation
31
+
32
+
* add info log level to readme ([#69](https://github.com/riza-io/riza-api-python/issues/69)) ([0b9f395](https://github.com/riza-io/riza-api-python/commit/0b9f39590eb72bf13f56643f58a4b4059d2dbdd8))
33
+
3
34
## 0.2.0 (2024-11-07)
4
35
5
36
Full Changelog: [v0.1.1...v0.2.0](https://github.com/riza-io/riza-api-python/compare/v0.1.1...v0.2.0)
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,7 @@ import os
28
28
from rizaio import Riza
29
29
30
30
client = Riza(
31
-
# This is the default and can be omitted
32
-
api_key=os.environ.get("RIZA_API_KEY"),
31
+
api_key=os.environ.get("RIZA_API_KEY"), # This is the default and can be omitted
33
32
)
34
33
35
34
response = client.command.exec(
@@ -54,8 +53,7 @@ import asyncio
54
53
from rizaio import AsyncRiza
55
54
56
55
client = AsyncRiza(
57
-
# This is the default and can be omitted
58
-
api_key=os.environ.get("RIZA_API_KEY"),
56
+
api_key=os.environ.get("RIZA_API_KEY"), # This is the default and can be omitted
59
57
)
60
58
61
59
@@ -185,12 +183,14 @@ Note that requests that time out are [retried twice by default](#retries).
185
183
186
184
We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
187
185
188
-
You can enable logging by setting the environment variable `RIZA_LOG` to `debug`.
186
+
You can enable logging by setting the environment variable `RIZA_LOG` to `info`.
189
187
190
188
```shell
191
-
$ export RIZA_LOG=debug
189
+
$ export RIZA_LOG=info
192
190
```
193
191
192
+
Or to `debug` for more verbose logging.
193
+
194
194
### How to tell whether `None` means `null` or missing
195
195
196
196
In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:
0 commit comments