It would be good to see the exact limit that was exceeded when we get a rate limit exception in the exception's msg. As the code stands this is the output of an XeroRateLimitExceeded exception:
...
File "/home/user/.local/lib/python3.9/site-packages/xero/basemanager.py", line 264, in wrapper
raise XeroRateLimitExceeded(response, payload)
xero.exceptions.XeroRateLimitExceeded: please wait before retrying the xero api
The limit information is available in the exception, it's just not included in the error string.
It would be good to see the exact limit that was exceeded when we get a rate limit exception in the exception's msg. As the code stands this is the output of an XeroRateLimitExceeded exception:
The limit information is available in the exception, it's just not included in the error string.