Skip to content

Commit 3e4372e

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore(internal): codegen related update (#68)
1 parent d515d04 commit 3e4372e

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,12 +192,14 @@ Note that requests that time out are [retried twice by default](#retries).
192192

193193
We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
194194

195-
You can enable logging by setting the environment variable `BROWSERBASE_LOG` to `debug`.
195+
You can enable logging by setting the environment variable `BROWSERBASE_LOG` to `info`.
196196

197197
```shell
198-
$ export BROWSERBASE_LOG=debug
198+
$ export BROWSERBASE_LOG=info
199199
```
200200

201+
Or to `debug` for more verbose logging.
202+
201203
### How to tell whether `None` means `null` or missing
202204

203205
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`:

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ dependencies = [
1414
"anyio>=3.5.0, <5",
1515
"distro>=1.7.0, <2",
1616
"sniffio",
17-
"cached-property; python_version < '3.8'",
1817
]
1918
requires-python = ">= 3.8"
2019
classifiers = [

src/browserbase/_compat.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,6 @@ def __set_name__(self, owner: type[Any], name: str) -> None: ...
214214
# __set__ is not defined at runtime, but @cached_property is designed to be settable
215215
def __set__(self, instance: object, value: _T) -> None: ...
216216
else:
217-
try:
218-
from functools import cached_property as cached_property
219-
except ImportError:
220-
from cached_property import cached_property as cached_property
217+
from functools import cached_property as cached_property
221218

222219
typed_cached_property = cached_property

0 commit comments

Comments
 (0)