We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8aaafa commit 57e6088Copy full SHA for 57e6088
README.md
@@ -115,15 +115,14 @@ pip install --pre openlayer[aiohttp]
115
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
116
117
```python
118
-import os
119
import asyncio
120
from openlayer import DefaultAioHttpClient
121
from openlayer import AsyncOpenlayer
122
123
124
async def main() -> None:
125
async with AsyncOpenlayer(
126
- api_key=os.environ.get("OPENLAYER_API_KEY"), # This is the default and can be omitted
+ api_key="My API Key",
127
http_client=DefaultAioHttpClient(),
128
) as client:
129
response = await client.inference_pipelines.data.stream(
0 commit comments