inetrg / inet-nm

INET Node Manager
MIT License
1 stars 1 forks source link

`get_inventory_nodes` returns undocumented values #17

Closed leandrolanzieri closed 3 months ago

leandrolanzieri commented 4 months ago

The method signature says: -> Tuple[List[NmNode], List[NmNode], List[NmNode]], and the documentation says

    Returns:
        A tuple of lists of nodes. The first list is the available nodes, the
            second list is the used nodes, and the third list is the missing
            nodes.

But a tuple with 4 values is returned:

return available, used, missing, total

Which breaks when trying to unpack the documented 3 elements.