Closed 2ps closed 9 months ago
@2ps please share PR
It will be better to handle the 429 on our own, hiding the logic from the user. The user never wants to abort the script because of rate limits.
We should work on #904.
This can be closed, it is addressed in a merged PR.
several methods of
atlassian.rest_client.AtlassianRestAPI
, like thepost
method, do not propagate theadvanced_mode
flag to the underlyingrequest
method. Because that flag is not propagated to the underlying call, rate limit exceptions are thrown and graceful handling of a 429 status code by using the response headers is not possible.Proposed fix: pass the
advanced_mode
flag passed into functions likepost
to the underlyingrequest
method.