PabloCastellano / libcnml

libcnml is a CNML parser library for Python
GNU General Public License v3.0
4 stars 5 forks source link

Filter nodes/devices/... by status #6

Open PabloCastellano opened 9 years ago

PabloCastellano commented 9 years ago

Actually you have to filter results by your own.

It would be nice to have something like:

cnmlp.getNodes(active=True)

or

cnmlp.getNodes(status=active)
emmdim commented 8 years ago

From my perspective (because I did it for my tool) it can get quite complicated. I would propose that this is either implemented in a diferent module with utilities or left for the user of libcnml to implement it as he wishes.