freakboy3742 / pyxero

Python API for accessing the REST API of the Xero accounting tool.
BSD 3-Clause "New" or "Revised" License
279 stars 209 forks source link

Add config to pass on token scope-change warnings #329

Closed jstevans closed 1 year ago

jstevans commented 1 year ago

This provides a more-explicit fix for #287

Since we get exactly the same token in the warning, and the original commit's message suggests the warning is optional, it seems as though we can just do session.token = e.token (whose setter calls the necessary follow-on logic) and continue as usual.