@raise_if_unsaved
    def get_siblings(self, include_self=False):
        if self.is_root_node():
            queryset = self._tree_manager._mptt_filter(parent=None)
        else:
            parent_id = getattr(self, self._mptt_meta.parent_attr + '_id')
            queryset = self._tree_manager._mptt_filter(parent__pk=parent_id)
        if not include_self:
            queryset = queryset.exclude(pk=self.pk)
        return queryset
Creates a ``QuerySet`` containing siblings of this model
dataset/ETHPy150Open django-mptt/django-mptt/mptt/models.py/MPTTModel.get_siblings