def get_workshop(id):
    workshop = Workshop.find(id=id)
    if not workshop:
        raise web.notfound()
    return workshop
Returns workshop by given id.
dataset/ETHPy150Open anandology/broadgauge/broadgauge/views/workshops.py/get_workshop