Skip to content

Structural rework

Latest
Compare
Choose a tag to compare
@RicArch97 RicArch97 released this 07 May 15:21
· 20 commits to master since this release

Structure

  • Client has been split up in 2 versions, an async version which uses asyncio, and a sync version that uses threading which is a wrapper for the async client
  • Eventbus is now optional when just using the async client

Lib

  • Improved error handling
  • Many coding style improvements according to PEP8, with the help of PyLint, Black and Isort & improved typing
  • Events are now fired using their main type, and you can use the sub-type to act on different variants of that event, as shown here

Dependencies

  • Bump aiohttp from 3.6.2 to 3.7.4

When you're using the sync version, there should not be a lot of differences with previous version of the lib,