docs: def parents(self, p_todo, p_only_direct=False):
          """
          Returns a list of parent todos that (in)directly depend on the
          given todo.
          """
          parents = self._depgraph.incoming_neighbors(
              hash(p_todo), not p_only_direct)
          return [self._tododict[parent] for parent in parents]