@expose('/lab/test/display/')
    def display_lab(self):
        try:
            lab_id = int(request.args.get('id', '-1'))
        except __HOLE__:
            return "id must be an integer", 400
        
        lab = self.session.query(Laboratory).filter_by(id = lab_id).first()
        if lab is None:
            return "Laboratory id not found", 404

        return self.render("labmanager_admin/display_lab.html", laboratory = lab)
dataset/ETHPy150Open gateway4labs/labmanager/labmanager/views/admin.py/LaboratoryPanel.display_lab