From 69697a71874c171d29262f84174c45ffe2015669 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Fri, 19 Jul 2024 19:48:58 +0000 Subject: [PATCH] chore(internal): version bump --- .github/workflows/release-doctor.yml | 2 ++ .release-please-manifest.json | 2 +- README.md | 6 ++++++ pyproject.toml | 2 +- src/openlayer/_version.py | 2 +- 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index df0fe84f..d6d56f28 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -1,6 +1,8 @@ name: Release Doctor on: pull_request: + branches: + - main workflow_dispatch: jobs: diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 96e1bc48..90c03660 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.2.0-alpha.9" + ".": "0.2.0-alpha.10" } \ No newline at end of file diff --git a/README.md b/README.md index f39d21cd..91c8fff6 100644 --- a/README.md +++ b/README.md @@ -403,6 +403,12 @@ client = Openlayer( ) ``` +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 20b9be8c..c88a4271 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "openlayer" -version = "0.2.0-alpha.9" +version = "0.2.0-alpha.10" description = "The official Python library for the openlayer API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/openlayer/_version.py b/src/openlayer/_version.py index 449f82b3..4789686c 100644 --- a/src/openlayer/_version.py +++ b/src/openlayer/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "openlayer" -__version__ = "0.2.0-alpha.9" # x-release-please-version +__version__ = "0.2.0-alpha.10" # x-release-please-version