-
Notifications
You must be signed in to change notification settings - Fork 29
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
Missing name
and id
for items returned by get_arrays_performance(resolution=1000)
#17
Comments
This seems to happen when resolution = 1000. Can you try resolutions other than 1000? Thanks |
This does not happen with any other valid resolution In [8]: for resolution in [30000,300000,1800000,7200000,28800000,86400000,None,1000]:
...: for attr in ['name', 'id']:
...: assert attr in list(fa_client.get_arrays_performance(resolution=resolution).items)[0].to_dict(), f'Missing attr for {resolution}'
...:
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-8-4e0ff85071a3> in <module>
1 for resolution in [30000,300000,1800000,7200000,28800000,86400000,None,1000]:
2 for attr in ['name', 'id']:
----> 3 assert attr in list(fa_client.get_arrays_performance(resolution=resolution).items)[0].to_dict(), f'Missing attr for {resolution}'
4
AssertionError: Missing attr for 1000 |
This is not issue with py-pure-client but server side bug. It will be fixed in the next release. |
I've found other methods with similar issues, should I open further issues or list them here? Thanks for your work! |
Please open further issues. Thank you |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If
get_arrays_performance
ofpypureclient.flasharray.FA_2_7.client.Client
is called with a (valid) resolution of 1000 the items of the answer do not contain anyname
orid
attributes. If no or any other resolution is passed the attributes are available.The text was updated successfully, but these errors were encountered: