diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index aed4ae38..162ee5bf 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -1,6 +1,8 @@ name: Release Doctor on: pull_request: + branches: + - v3 workflow_dispatch: jobs: diff --git a/README.md b/README.md index 13155247..62f1b294 100644 --- a/README.md +++ b/README.md @@ -283,6 +283,12 @@ client = Intercom( ) ``` +You can also customize the client on a per-request basis by using `with_options()`: + +```python +client.with_options(http_client=DefaultHttpxClient(...)) +``` + ### Managing HTTP resources 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.