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 7b5d84f commit eb837b5Copy full SHA for eb837b5
README.md
@@ -87,14 +87,15 @@ pip install kernel[aiohttp]
87
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
88
89
```python
90
+import os
91
import asyncio
92
from kernel import DefaultAioHttpClient
93
from kernel import AsyncKernel
94
95
96
async def main() -> None:
97
async with AsyncKernel(
- api_key="My API Key",
98
+ api_key=os.environ.get("KERNEL_API_KEY"), # This is the default and can be omitted
99
http_client=DefaultAioHttpClient(),
100
) as client:
101
browser = await client.browsers.create(
0 commit comments