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 0d7db31 commit fb2f0d5Copy full SHA for fb2f0d5
README.md
@@ -87,15 +87,14 @@ pip install knockapi[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 knockapi import DefaultAioHttpClient
93
from knockapi import AsyncKnock
94
95
96
async def main() -> None:
97
async with AsyncKnock(
98
- api_key=os.environ.get("KNOCK_API_KEY"), # This is the default and can be omitted
+ api_key="My API Key",
99
http_client=DefaultAioHttpClient(),
100
) as client:
101
response = await client.workflows.trigger(
0 commit comments