Skip to content

Commit

Permalink
fix(inventory): allow missing uids var
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Sep 12, 2023
1 parent ab5b90c commit 8a95f8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/inet_nm/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ def get_inventory_nodes(
feat_filter: List[str] = None,
feat_eval: str = None,
boards: List[str] = None,
uids: List[str] = None,
) -> Tuple[List[NmNode], List[NmNode], List[NmNode]]:
"""
Get a list of nodes based on the provided parameters.
Expand All @@ -307,6 +308,7 @@ def get_inventory_nodes(
these features will be returned.
feat_eval: The function to use to evaluate the features.
boards: A list of boards to use.
uids: A list of UIDs of nodes to use.
Returns:
A tuple of lists of nodes. The first list is the available nodes, the
Expand Down

0 comments on commit 8a95f8a

Please sign in to comment.