solidfire-sdk-python icon indicating copy to clipboard operation
solidfire-sdk-python copied to clipboard

SolidFire SDK for Python

Results 10 solidfire-sdk-python issues
Sort by recently updated
recently updated
newest added

Asking for QoS histograms for 2 volumes, I get 32 back: ```python >>> params= {"VolumeIDs": [1]} >>> qosh = sfe.invoke_sfapi("ListVolumeQoSHistograms", parameters=params)['qosHistograms'] 2024-05-03 13:52:19,323 - solidfire.Element - INFO - {"method": "ListVolumeQoSHistograms",...

- SolidFire SDK Python v 12.3 In JSON-RPC responses some values may be `null`: ```json { "id": 1, "result": { "volumes": [ { "access": "readWrite", "accountID": 1, "attributes": {}, "blockSize":...

12.3.1 can't be installed from the network because it hasn't been published. Furthermore, when latest v12.3.1 is deployed with `setup.py install`, I see this: ```sh ... Using /usr/local/lib/python3.10/dist-packages/enum34-1.1.10-py3.10.egg Finished processing...

- Python 3.10.12 - solidfire-sdk-python 12.3.0.203 According to the docs, volume_ids are optional. list_volume_stats and list_volume_qos_histograms is supposed to work the same way, but it doesn't. ```sh >>> sfe.list_volume_stats() 2023-11-19...

Fixes #48 --- This change is [](https://reviewable.io/reviews/solidfire/solidfire-sdk-python/49)

``` # python3.5 setup.py build Traceback (most recent call last): File "setup.py", line 20, in with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: File "/usr/local/lib/python3.5/codecs.py", line 895, in open file = builtins.open(filename,...

`list_active_volumes` returns `VolumeAccess` class in `access` value (the first KV). Isn't it supposed to return a `str`? ```python >>> sfe_a.list_active_volumes().to_json()['volumes'][0] 2024-06-07 14:37:28,267 - solidfire.Element - INFO - {"method": "ListActiveVolumes", "id":...

```python $ python setup.py install /home/sean/.local/lib/python3.10/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead....

```sh $ python3 Python 3.12.3 (main, Feb 4 2025, 14:48:35) [GCC 13.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from solidfire.factory import ElementFactory Traceback (most...

- Replaced direct logging of initiator and target secret with masked value - Complies with CodeQL rule: py/clear-text-logging-sensitive-data - - - This change is [](https://reviewable.io/reviews/solidfire/solidfire-sdk-python/71)