Skip to content

Commit 6002d27

Browse files
feat: clean up environment call outs
1 parent 41feabc commit 6002d27

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

8585
```python
86-
import os
8786
import asyncio
8887
from asktable import DefaultAioHttpClient
8988
from asktable import AsyncAsktable
9089

9190

9291
async def main() -> None:
9392
async with AsyncAsktable(
94-
api_key=os.environ.get("ASKTABLE_API_KEY"), # This is the default and can be omitted
93+
api_key="My API Key",
9594
http_client=DefaultAioHttpClient(),
9695
) as client:
9796
datasource = await client.datasources.create(

0 commit comments

Comments
 (0)