Skip to content

Commit de35b9d

Browse files
feat: clean up environment call outs
1 parent dfd4e86 commit de35b9d

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
@@ -94,15 +94,14 @@ pip install --pre zeroentropy[aiohttp]
9494
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
9595

9696
```python
97-
import os
9897
import asyncio
9998
from zeroentropy import DefaultAioHttpClient
10099
from zeroentropy import AsyncZeroEntropy
101100

102101

103102
async def main() -> None:
104103
async with AsyncZeroEntropy(
105-
api_key=os.environ.get("ZEROENTROPY_API_KEY"), # This is the default and can be omitted
104+
api_key="My API Key",
106105
http_client=DefaultAioHttpClient(),
107106
) as client:
108107
response = await client.documents.add(

0 commit comments

Comments
 (0)