diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 436d118..224d06c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -79,7 +79,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} run: >- gh release create - 'v0.1.8' + 'v0.1.9' --repo '${{ github.repository }}' --notes "" - name: Upload artifact signatures to GitHub Release @@ -90,5 +90,5 @@ jobs: # sigstore-produced signatures and certificates. run: >- gh release upload - 'v0.1.8' dist/** + 'v0.1.9' dist/** --repo '${{ github.repository }}' diff --git a/pyproject.toml b/pyproject.toml index af6b51e..0288a5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ authors = [ ] description = "A client facing API for interacting with the WeCo AI function builder service." readme = "README.md" -version = "0.1.8" +version = "0.1.9" license = {text = "MIT"} requires-python = ">=3.8" dependencies = ["asyncio", "httpx[http2]", "pillow"] diff --git a/weco/client.py b/weco/client.py index d41f763..759ae11 100644 --- a/weco/client.py +++ b/weco/client.py @@ -68,6 +68,7 @@ def __init__(self, api_key: Union[str, None] = None, timeout: float = 120.0, htt self.http2 = http2 self.timeout = timeout self.base_url = "https://function.api.weco.ai" + # Setup clients self.client = httpx.Client(http2=http2, timeout=timeout) self.async_client = httpx.AsyncClient(http2=http2, timeout=timeout)