Skip to content

Commit fb2f0d5

Browse files
feat: clean up environment call outs
1 parent 0d7db31 commit fb2f0d5

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
@@ -87,15 +87,14 @@ pip install knockapi[aiohttp]
8787
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
8888

8989
```python
90-
import os
9190
import asyncio
9291
from knockapi import DefaultAioHttpClient
9392
from knockapi import AsyncKnock
9493

9594

9695
async def main() -> None:
9796
async with AsyncKnock(
98-
api_key=os.environ.get("KNOCK_API_KEY"), # This is the default and can be omitted
97+
api_key="My API Key",
9998
http_client=DefaultAioHttpClient(),
10099
) as client:
101100
response = await client.workflows.trigger(

0 commit comments

Comments
 (0)