1
0
Fork 0

Update README.md

updated example code
This commit is contained in:
Thomas Luther 2024-01-31 13:22:35 +01:00
parent b7de796ace
commit 8675f538ab
1 changed files with 3 additions and 1 deletions

View File

@ -42,11 +42,13 @@ Everything starts with an:
[aiohttp](https://aiohttp.readthedocs.io/en/stable/) `ClientSession`:
```python
import logging, json
import asyncio
from aiohttp import ClientSession
import logging, json
from api import api, errors
_LOGGER: logging.Logger = logging.getLogger(__name__)
#_LOGGER.setLevel(logging.DEBUG) # enable for detailed API output
async def main() -> None:
"""Create the aiohttp session and run the example."""