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 ...

must be renamed as following to keep working:

Since
requestsmodule's version 2.22.0 or, more specifically,urllib3version 1.26.2, themethod_whitelistparameter in theRetryconstructor has been deprecated and replaced byallowed_methods.Hence, the keyword argument at line 161 in


_api_request_handler.py...must be renamed as following to keep working: