def _get_peers(self, child_self, parent_other):
peers = parent_other.findall(child_self.tag)<EOL>s_node = self.device.get_schema_node(child_self)<EOL>if s_node.get('<STR_LIT:type>') == '<STR_LIT>':<EOL><INDENT>return list(filter(lambda x:<EOL>child_self.text == x.text,<EOL>peers))<EOL><DEDENT>elif s_node.get('<STR_LIT:type>') == '<STR_LIT:list>':<EOL><INDENT>keys = self._get_list_keys(s_node)<EOL>return list(filter(lambda x:<EOL>self._is_peer(keys, child_self, x),<EOL>peers))<EOL><DEDENT>else:<EOL><INDENT>return peers<EOL><DEDENT>
_get_peers

        Low-level api: Given a config node, find peers under a parent node.

        Parameters
        ----------

        child_self : `Element`
            An Element node on this side.

        parent_other : `Element`
            An Element node on the other side.

        Returns
        -------

        list
            A list of children of parent_other who are peers of child_self.