Skip to content

[Python] Support connection/read timeout #4169

@mbohlool

Description

@mbohlool
Description

There is no way to pass a timeout for a request (both connection and read).

Swagger-codegen version

2.2.2-SNAPSHOT

Suggest a Fix

urllib3 that is used in python client supports Timeout for connection and read. The timeout object need to be passed through ApiClient to RestClient to urllib3.

Another option is to add it to configuration though I prefer per request timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions