Skip to content

Commit 0de7cb3

Browse files
feat: clean up environment call outs
1 parent c93f487 commit 0de7cb3

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

8181
```python
82-
import os
8382
import asyncio
8483
from openint import DefaultAioHttpClient
8584
from openint import AsyncOpenint
8685

8786

8887
async def main() -> None:
8988
async with AsyncOpenint(
90-
token=os.environ.get("OPENINT_API_KEY"), # This is the default and can be omitted
89+
token="My Token",
9190
http_client=DefaultAioHttpClient(),
9291
) as client:
9392
page = await client.list_connections()

0 commit comments

Comments
 (0)