fix: Retry does not support kw allowable_methods
when initializing the ApiClient, the Retry object does not allow for keyword allowable methods
Merge request reports
Activity
Hi @leon.gorissen !
when initializing the ApiClient, the Retry object does not allow for keyword allowable methods
It does on my end and I've never run into issues like that before (I'm on urllib3 Version: 2.0.7).
According to the urllib3 changelog, theallowed_methods
argument should be valid:
https://github.com/urllib3/urllib3/blob/main/CHANGES.rst#1260-2020-11-10Maybe you are using an old version of urllib? The Coscine Python SDK unfortunately does not (yet) require specific versions of packages, it just accepts any version if it is installed.
Could you post more info on the problem you are trying to fix (maybe an error message) and include the version number of urllib3 on your system (
pip show urllib3
)?On a sidenote you could also try
pip install --upgrade urllib3
(if using pip, I don't know the conda equivalent right now) and see if the problem persists.
If that fixes it, I should really force specific package versions and see if there is some tool that can figure out minimum dependencies automatically (hopefully).Edited by Romin