Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

purestorage sdk rest_version wont accept higher than default #25

Open
joefodor opened this issue Sep 28, 2022 · 0 comments
Open

purestorage sdk rest_version wont accept higher than default #25

joefodor opened this issue Sep 28, 2022 · 0 comments

Comments

@joefodor
Copy link

An option to use different rest_versions is apart of the purestorage.FlashArray() but it wont accept anything higher than 1.19.

Traceback (most recent call last):
File "/repo/my_tests.py", line 94, in
client = get_single_array()
File "/repo/my_tests.py", line 33, in get_single_array
array = purestorage.FlashArray('10.246.95.26',
File "/usr/local/lib/python3.9/site-packages/purestorage/purestorage.py", line 141, in init
self._rest_version = self._check_rest_version(rest_version)
File "/usr/local/lib/python3.9/site-packages/purestorage/purestorage.py", line 214, in _check_rest_version
raise ValueError(msg.format(version))
ValueError: Library is incompatible with REST API version 1.20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant