@property
    def branches(self):
        return Tasks.find({'project': self.name}).distinct('commit.branch')
Get project branches
dataset/ETHPy150Open nvbn/coviolations_web/projects/models.py/Project.branches