Skip to content

Commit 43e8aca

Browse files
chore(internal): version bump (#267)
1 parent 180c016 commit 43e8aca

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/release-doctor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Release Doctor
22
on:
33
pull_request:
4+
branches:
5+
- main
46
workflow_dispatch:
57

68
jobs:

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,12 @@ client = Openlayer(
403403
)
404404
```
405405

406+
You can also customize the client on a per-request basis by using `with_options()`:
407+
408+
```python
409+
client.with_options(http_client=DefaultHttpxClient(...))
410+
```
411+
406412
### Managing HTTP resources
407413

408414
By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.

0 commit comments

Comments
 (0)