We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e287360 commit 1e03cb6Copy full SHA for 1e03cb6
README.md
@@ -101,15 +101,14 @@ pip install patronus-api[aiohttp]
101
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
102
103
```python
104
-import os
105
import asyncio
106
from patronus_api import DefaultAioHttpClient
107
from patronus_api import AsyncPatronusAPI
108
109
110
async def main() -> None:
111
async with AsyncPatronusAPI(
112
- api_key=os.environ.get("PATRONUS_API_KEY"), # This is the default and can be omitted
+ api_key="My API Key",
113
http_client=DefaultAioHttpClient(),
114
) as client:
115
response = await client.evaluations.evaluate(
0 commit comments