Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.12.3"
".": "0.12.4"
}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## 0.12.4 (2026-01-07)

Full Changelog: [v0.12.3...v0.12.4](https://github.com/openlayer-ai/openlayer-python/compare/v0.12.3...v0.12.4)

### Chores

* **docs:** use environment variables for authentication in code snippets ([be3611a](https://github.com/openlayer-ai/openlayer-python/commit/be3611a6ae14e83a5180ea32d3df2ce15bb4e3df))
* update lockfile ([8532ac5](https://github.com/openlayer-ai/openlayer-python/commit/8532ac5f1192e16eafe3e8ab85c50aa8cda3b4ee))

## 0.12.3 (2026-01-06)

Full Changelog: [v0.12.2...v0.12.3](https://github.com/openlayer-ai/openlayer-python/compare/v0.12.2...v0.12.3)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,15 @@ pip install openlayer[aiohttp]
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:

```python
import os
import asyncio
from openlayer import DefaultAioHttpClient
from openlayer import AsyncOpenlayer


async def main() -> None:
async with AsyncOpenlayer(
api_key="My API Key",
api_key=os.environ.get("OPENLAYER_API_KEY"), # This is the default and can be omitted
http_client=DefaultAioHttpClient(),
) as client:
response = await client.inference_pipelines.data.stream(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openlayer"
version = "0.12.3"
version = "0.12.4"
description = "The official Python library for the openlayer API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
131 changes: 59 additions & 72 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,45 @@
-e file:.
aiohappyeyeballs==2.6.1
# via aiohttp
aiohttp==3.12.13
aiohttp==3.13.2
# via httpx-aiohttp
# via openlayer
aiosignal==1.3.2
aiosignal==1.4.0
# via aiohttp
annotated-types==0.6.0
annotated-types==0.7.0
# via pydantic
anyio==4.4.0
anyio==4.12.0
# via httpx
# via openlayer
argcomplete==3.1.2
argcomplete==3.6.3
# via nox
async-timeout==5.0.1
# via aiohttp
attrs==25.3.0
attrs==25.4.0
# via aiohttp
certifi==2023.7.22
# via nox
backports-asyncio-runner==1.2.0
# via pytest-asyncio
certifi==2025.11.12
# via httpcore
# via httpx
# via requests
charset-normalizer==3.4.0
# via requests
colorlog==6.7.0
colorlog==6.10.1
# via nox
dependency-groups==1.3.1
# via nox
dirty-equals==0.6.0
distlib==0.3.7
dirty-equals==0.11
distlib==0.4.0
# via virtualenv
distro==1.8.0
distro==1.9.0
# via openlayer
exceptiongroup==1.2.2
exceptiongroup==1.3.1
# via anyio
# via pytest
execnet==2.1.1
execnet==2.1.2
# via pytest-xdist
filelock==3.12.4
filelock==3.19.1
# via virtualenv
frozenlist==1.7.0
frozenlist==1.8.0
# via aiohttp
# via aiosignal
h11==0.16.0
Expand All @@ -59,103 +61,88 @@ httpx==0.28.1
# via respx
httpx-aiohttp==0.1.9
# via openlayer
idna==3.4
humanize==4.13.0
# via nox
idna==3.11
# via anyio
# via httpx
# via requests
# via yarl
importlib-metadata==7.0.0
iniconfig==2.0.0
importlib-metadata==8.7.0
iniconfig==2.1.0
# via pytest
markdown-it-py==3.0.0
# via rich
mdurl==0.1.2
# via markdown-it-py
multidict==6.5.0
multidict==6.7.0
# via aiohttp
# via yarl
mypy==1.17.0
mypy-extensions==1.0.0
mypy-extensions==1.1.0
# via mypy
nodeenv==1.8.0
nodeenv==1.9.1
# via pyright
nox==2023.4.22
numpy==1.26.4
# via openlayer
# via pandas
# via pyarrow
packaging==23.2
nox==2025.11.12
packaging==25.0
# via dependency-groups
# via nox
# via pytest
pathspec==0.12.1
# via mypy
pandas==2.2.2
# via openlayer
platformdirs==3.11.0
platformdirs==4.4.0
# via virtualenv
pluggy==1.5.0
pluggy==1.6.0
# via pytest
propcache==0.3.2
propcache==0.4.1
# via aiohttp
# via yarl
pydantic==2.11.9
pydantic==2.12.5
# via openlayer
pydantic-core==2.33.2
pydantic-core==2.41.5
# via pydantic
pygments==2.18.0
pygments==2.19.2
# via pytest
# via rich
pyright==1.1.399
pytest==8.3.3
pytest==8.4.2
# via pytest-asyncio
# via pytest-xdist
pytest-asyncio==0.24.0
pytest-xdist==3.7.0
python-dateutil==2.8.2
# via pandas
pytest-asyncio==1.2.0
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
# via time-machine
pytz==2023.3.post1
# via dirty-equals
# via pandas
pyyaml==6.0.2
# via openlayer
requests==2.32.3
# via requests-toolbelt
requests-toolbelt==1.0.0
# via openlayer
respx==0.22.0
rich==13.7.1
ruff==0.9.4
setuptools==68.2.2
# via nodeenv
six==1.16.0
rich==14.2.0
ruff==0.14.7
six==1.17.0
# via python-dateutil
sniffio==1.3.0
# via anyio
sniffio==1.3.1
# via openlayer
time-machine==2.9.0
tomli==2.0.2
time-machine==2.19.0
tomli==2.3.0
# via dependency-groups
# via mypy
# via nox
# via pytest
tqdm==4.67.1
# via openlayer
typing-extensions==4.12.2
typing-extensions==4.15.0
# via aiosignal
# via anyio
# via exceptiongroup
# via multidict
# via mypy
# via openlayer
# via pydantic
# via pydantic-core
# via pyright
# via pytest-asyncio
# via typing-inspection
typing-inspection==0.4.1
# via virtualenv
typing-inspection==0.4.2
# via pydantic
tzdata==2024.1
# via pandas
urllib3==2.2.3
# via requests
virtualenv==20.24.5
virtualenv==20.35.4
# via nox
yarl==1.20.1
yarl==1.22.0
# via aiohttp
zipp==3.17.0
zipp==3.23.0
# via importlib-metadata
57 changes: 16 additions & 41 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,28 @@
-e file:.
aiohappyeyeballs==2.6.1
# via aiohttp
aiohttp==3.12.13
aiohttp==3.13.2
# via httpx-aiohttp
# via openlayer
aiosignal==1.3.2
aiosignal==1.4.0
# via aiohttp
annotated-types==0.6.0
annotated-types==0.7.0
# via pydantic
anyio==4.4.0
anyio==4.12.0
# via httpx
# via openlayer
async-timeout==5.0.1
# via aiohttp
attrs==25.3.0
attrs==25.4.0
# via aiohttp
certifi==2023.7.22
certifi==2025.11.12
# via httpcore
# via httpx
# via requests
charset-normalizer==3.4.0
# via requests
distro==1.8.0
distro==1.9.0
# via openlayer
exceptiongroup==1.2.2
exceptiongroup==1.3.1
# via anyio
frozenlist==1.7.0
frozenlist==1.8.0
# via aiohttp
# via aiosignal
h11==0.16.0
Expand All @@ -46,57 +43,35 @@ httpx==0.28.1
# via openlayer
httpx-aiohttp==0.1.9
# via openlayer
idna==3.4
idna==3.11
# via anyio
# via httpx
# via requests
# via yarl
multidict==6.5.0
multidict==6.7.0
# via aiohttp
# via yarl
numpy==1.26.4
# via openlayer
# via pandas
# via pyarrow
pandas==2.2.2
# via openlayer
propcache==0.3.2
propcache==0.4.1
# via aiohttp
# via yarl
pydantic==2.12.5
# via openlayer
pydantic-core==2.41.5
# via pydantic
python-dateutil==2.9.0.post0
# via pandas
pytz==2024.1
# via pandas
pyyaml==6.0.2
# via openlayer
requests==2.32.3
# via requests-toolbelt
requests-toolbelt==1.0.0
# via openlayer
six==1.16.0
# via python-dateutil
sniffio==1.3.0
# via anyio
sniffio==1.3.1
# via openlayer
tqdm==4.67.1
# via openlayer
typing-extensions==4.15.0
# via aiosignal
# via anyio
# via exceptiongroup
# via multidict
# via openlayer
# via pydantic
# via pydantic-core
# via typing-inspection
typing-inspection==0.4.2
# via pydantic
yarl==1.20.0
tzdata==2024.1
# via pandas
urllib3==2.2.3
# via requests
yarl==1.20.1
yarl==1.22.0
# via aiohttp
2 changes: 1 addition & 1 deletion src/openlayer/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "openlayer"
__version__ = "0.12.3" # x-release-please-version
__version__ = "0.12.4" # x-release-please-version