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/.release-please-manifest.json b/.release-please-manifest.json index 1332969b..3d2ac0bd 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1" + ".": "0.1.0" } \ No newline at end of file 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. diff --git a/pyproject.toml b/pyproject.toml index d9ec0f84..db7bff73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "python-intercom" -version = "0.0.1" +version = "0.1.0" description = "The official Python library for the intercom API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/python_intercom/_version.py b/src/python_intercom/_version.py index a1aabe03..679e51a4 100644 --- a/src/python_intercom/_version.py +++ b/src/python_intercom/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "python_intercom" -__version__ = "0.0.1" # x-release-please-version +__version__ = "0.1.0" # x-release-please-version