Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Support for len on NetApp_OCUM_Collection objects #11

Open
arthurzenika opened this issue Jan 18, 2023 · 0 comments
Open

Support for len on NetApp_OCUM_Collection objects #11

arthurzenika opened this issue Jan 18, 2023 · 0 comments

Comments

@arthurzenika
Copy link

It could be nice to have support for len (__len__) on the NetApp_OCUM_Collection objets.

This would enable a syntax such as :

nodes = ocum_client.get_nodes()
print(len(nodes))

(the workaround without this is to do print(len(nodes.json)))

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

No branches or pull requests

1 participant