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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,25 @@
1
1
# Changelog
2
2
3
+
## 0.1.0-beta.2 (2024-11-28)
4
+
5
+
Full Changelog: [v0.1.0-beta.1...v0.1.0-beta.2](https://github.com/steel-dev/steel-python/compare/v0.1.0-beta.1...v0.1.0-beta.2)
6
+
7
+
### Bug Fixes
8
+
9
+
***client:** compat with new httpx 0.28.0 release ([#21](https://github.com/steel-dev/steel-python/issues/21)) ([91f80cc](https://github.com/steel-dev/steel-python/commit/91f80cc77f003c87b89e521ba56d96dc795fa072))
10
+
11
+
12
+
### Chores
13
+
14
+
***internal:** codegen related update ([#18](https://github.com/steel-dev/steel-python/issues/18)) ([264d442](https://github.com/steel-dev/steel-python/commit/264d4425bf0171dcc492cc33a8fdc99d5d380c74))
15
+
***internal:** exclude mypy from running on tests ([#20](https://github.com/steel-dev/steel-python/issues/20)) ([2d4a38d](https://github.com/steel-dev/steel-python/commit/2d4a38d2616354f58237d78e667eb20a907a85b5))
16
+
* rebuild project due to codegen change ([#12](https://github.com/steel-dev/steel-python/issues/12)) ([c49b406](https://github.com/steel-dev/steel-python/commit/c49b406ba78c6fb4b17b015f5d294963608e6313))
17
+
* rebuild project due to codegen change ([#14](https://github.com/steel-dev/steel-python/issues/14)) ([1ab28ec](https://github.com/steel-dev/steel-python/commit/1ab28ec28acc64043324e900af87b6b5ee558f64))
18
+
* rebuild project due to codegen change ([#15](https://github.com/steel-dev/steel-python/issues/15)) ([60da75c](https://github.com/steel-dev/steel-python/commit/60da75c9b364810fe905a63de28b6259e3e767bd))
19
+
* rebuild project due to codegen change ([#16](https://github.com/steel-dev/steel-python/issues/16)) ([f0f9386](https://github.com/steel-dev/steel-python/commit/f0f9386b4f2e0611a976b89abdc039beae7c96e5))
20
+
* rebuild project due to codegen change ([#17](https://github.com/steel-dev/steel-python/issues/17)) ([dcfc0ea](https://github.com/steel-dev/steel-python/commit/dcfc0eaa856de36448880ff079bf24a73ce12637))
21
+
* remove now unused `cached-property` dep ([#19](https://github.com/steel-dev/steel-python/issues/19)) ([c65914b](https://github.com/steel-dev/steel-python/commit/c65914babf7987c2cc2ba6e809f70f70163b3f26))
22
+
3
23
## 0.1.0-beta.1 (2024-11-07)
4
24
5
25
Full Changelog: [v0.0.1-beta.5...v0.1.0-beta.1](https://github.com/steel-dev/steel-python/compare/v0.0.1-beta.5...v0.1.0-beta.1)
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 steel import Steel
29
29
30
30
client = Steel(
31
-
# This is the default and can be omitted
32
-
steel_api_key=os.environ.get("STEEL_API_KEY"),
31
+
steel_api_key=os.environ.get("STEEL_API_KEY"), # This is the default and can be omitted
33
32
)
34
33
35
34
session = client.sessions.create(
@@ -54,8 +53,7 @@ import asyncio
54
53
from steel import AsyncSteel
55
54
56
55
client = AsyncSteel(
57
-
# This is the default and can be omitted
58
-
steel_api_key=os.environ.get("STEEL_API_KEY"),
56
+
steel_api_key=os.environ.get("STEEL_API_KEY"), # This is the default and can be omitted
59
57
)
60
58
61
59
@@ -247,12 +245,14 @@ Note that requests that time out are [retried twice by default](#retries).
247
245
248
246
We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
249
247
250
-
You can enable logging by setting the environment variable `STEEL_LOG` to `debug`.
248
+
You can enable logging by setting the environment variable `STEEL_LOG` to `info`.
251
249
252
250
```shell
253
-
$ export STEEL_LOG=debug
251
+
$ export STEEL_LOG=info
254
252
```
255
253
254
+
Or to `debug` for more verbose logging.
255
+
256
256
### How to tell whether `None` means `null` or missing
257
257
258
258
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