Skip to content

[REQ] Add basic retries to asyncio Python REST client #17011

@rad-pat

Description

@rad-pat

Is your feature request related to a problem? Please describe.

The synchronous version of REST client supports basic retries through urllib3 library using the retries configuration parameter. The asyncio version should support the same behaviour such that the retries parameter can be honoured in this version.

I attempted a change to the template files that would appear to handle the case using the aiohttp-retry library. There were no tests for retry in the synchronous version so I have not added any to this change. Please feel free to improve upon this, the feature would be useful.

https://github.com/rad-pat/openapi-generator/tree/add-basic-retry-asyncio

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions