Skip to content

Commit f24f43d

Browse files
feat: clean up environment call outs
1 parent 087d706 commit f24f43d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,14 @@ pip install cloudflare[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 cloudflare import DefaultAioHttpClient
9190
from cloudflare import AsyncCloudflare
9291

9392

9493
async def main() -> None:
9594
async with AsyncCloudflare(
96-
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
95+
api_token="Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY",
9796
http_client=DefaultAioHttpClient(),
9897
) as client:
9998
zone = await client.zones.create(

0 commit comments

Comments
 (0)