Skip to content

v4.2.0

Compare
Choose a tag to compare
@parafoxia parafoxia released this 27 Mar 21:51
· 151 commits to main since this release

Additions

The Client, AsyncClient, and AsyncBaseClient now accept a scopes parameter, which should be a Scopes enum. This fixes an issue detailed in #41 where non-partnered channels would encounter 403 errors when trying to pull revenue data.

All owners non-parnetered channels should implement this change. To do so, configure your client so the scopes is explicitly set:

from analytix import Client, Scopes

client = Client(scopes=Scopes.READONLY)

You will need to re-authorise if you alter the scopes.

Changes

  • Some miscellaneous updates to warnings
  • python -m analytix now tells you if the install version of analytix is the latest