Skip to content

Version 0.3.1 Asyncio

Compare
Choose a tag to compare
@MrNaif2018 MrNaif2018 released this 21 Aug 16:37
c6e7921

Version 0.3.1 Asyncio:
support for async with context managers.
It is a breaking change.
You must close the underlying aiohttp client connections in either of two ways, via context manager:

async with btc:
    print(await btc.balance())

Or, if you don't use context managers, close it manually:

print(await btc.balance())
await btc.close()