Merge "Replace deprecated abc.abstractclassmethod"

This commit is contained in:
Zuul 2025-03-04 12:19:11 +00:00 committed by Gerrit Code Review
commit 57aef5fe75

View File

@ -1620,7 +1620,8 @@ class Connection(object, metaclass=abc.ABCMeta):
:raises: NodeNotFound if the node is not found. :raises: NodeNotFound if the node is not found.
""" """
@abc.abstractclassmethod @classmethod
@abc.abstractmethod
def get_child_node_ids_by_parent_uuid(self, node_uuid, def get_child_node_ids_by_parent_uuid(self, node_uuid,
exclude_dedicated_power=False): exclude_dedicated_power=False):
"""Retrieve a list of child node IDs for a given parent UUID. """Retrieve a list of child node IDs for a given parent UUID.