CloudGenix / cloudgenix_config

Configuration exporting and Continuous Integration (CI) capable configuration importing for the CloudGenix Cloud Controller.
MIT License
12 stars 22 forks source link

AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST' #94

Open Sai-Tumuluri opened 1 year ago

Sai-Tumuluri commented 1 year ago

Steps

./do_site.py ~/sdwan-scripts/DC-12.yml --controller https://api.sugarloaf.cloudgenix.com

Traceback (most recent call last):
  File "/home/username/cloudgenix_config-master/./do_site.py", line 2, in <module>
    from cloudgenix_config.do import go
  File "/home/username/cloudgenix_config-master/cloudgenix_config/__init__.py", line 38, in <module>
    from cloudgenix import jdout, jdout_detailed
  File "/home/username/.local/lib/python3.10/site-packages/cloudgenix/__init__.py", line 301, in <module>
    class API(object):
  File "/home/username/.local/lib/python3.10/site-packages/cloudgenix/__init__.py", line 628, in API
    method_whitelist=urllib3.util.retry.Retry.DEFAULT_METHOD_WHITELIST, status_forcelist=None,
AttributeError: type object 'Retry' has no attribute 'DEFAULT_METHOD_WHITELIST'
vishwaspg94 commented 1 year ago

Add "--insecure" and try it out