def SetParent(self, parent):
    if self._parent:
      self._parent.children.remove(self)
    self._parent = parent
    if self._parent:
      self._parent.children.append(self)
Invite people to Hardtree
dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/template_objects.py/CodeObject.SetParent--crossover with--dataset/ETHPy150Open treeio/treeio/treeio/core/administration/views.py/user_invite