nipyapi does something like that:
https://github.com/Chaffelson/nipyapi/blob/164351ee2d92f8c4a75989310662bbad0f7bafc4/nipyapi/utils.py#L210




On July 30, 2020 at 11:22:29, KhajaAsmath Mohammed ([email protected])
wrote:

Hi,

I am looking for some information on how to do retry logic on restapi until
we get specific status code. Please let me know if you have any
approach/templates for this

Thanks,
Asmath

Reply via email to