<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_family(self, node):
 """ RETURN ALL ADJACENT NODES """

        return set(p if c == node else c for p, c in self.get_edges(node))