Skip to content

Commit 45f4ac0

Browse files
feat: clean up environment call outs
1 parent 34c44fe commit 45f4ac0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,14 @@ pip install kernel[aiohttp]
9393
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
9494

9595
```python
96-
import os
9796
import asyncio
9897
from kernel import DefaultAioHttpClient
9998
from kernel import AsyncKernel
10099

101100

102101
async def main() -> None:
103102
async with AsyncKernel(
104-
api_key=os.environ.get("KERNEL_API_KEY"), # This is the default and can be omitted
103+
api_key="My API Key",
105104
http_client=DefaultAioHttpClient(),
106105
) as client:
107106
deployment = await client.apps.deployments.create(

0 commit comments

Comments
 (0)