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