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 34c44fe commit 45f4ac0Copy full SHA for 45f4ac0
README.md
@@ -93,15 +93,14 @@ pip install kernel[aiohttp]
93
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
94
95
```python
96
-import os
97
import asyncio
98
from kernel import DefaultAioHttpClient
99
from kernel import AsyncKernel
100
101
102
async def main() -> None:
103
async with AsyncKernel(
104
- api_key=os.environ.get("KERNEL_API_KEY"), # This is the default and can be omitted
+ api_key="My API Key",
105
http_client=DefaultAioHttpClient(),
106
) as client:
107
deployment = await client.apps.deployments.create(
0 commit comments