Skip to content

method_whitelist argument deprecated in _api_request_handler.py #29

@AndreaMercanti

Description

@AndreaMercanti

Since requests module's version 2.22.0 or, more specifically, urllib3 version 1.26.2, the method_whitelist parameter in the Retry constructor has been deprecated and replaced by allowed_methods.

Hence, the keyword argument at line 161 in _api_request_handler.py ...
Image
must be renamed as following to keep working:
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions