@property
    def co_parents(self):
        return BuildingSnapshot.objects.filter(
            children__parents=self
        ).exclude(pk=self.pk)
returns co-parents for a BuildingSnapshot as a queryset
dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/models.py/BuildingSnapshot.co_parents