Skip to content

Commit 15419b7

Browse files
feat: clean up environment call outs
1 parent 8ec46c4 commit 15419b7

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

8787
```python
88-
import os
8988
import asyncio
9089
from lithic import DefaultAioHttpClient
9190
from lithic import AsyncLithic
9291

9392

9493
async def main() -> None:
9594
async with AsyncLithic(
96-
api_key=os.environ.get("LITHIC_API_KEY"), # This is the default and can be omitted
95+
api_key="My Lithic API Key",
9796
http_client=DefaultAioHttpClient(),
9897
) as client:
9998
card = await client.cards.create(

0 commit comments

Comments
 (0)