def team():

    # /options.s3json only
    s3.prep = lambda r: r.method == "options" and \
                        r.representation == "s3json"

    return s3_rest_controller("event", "team")

# -----------------------------------------------------------------------------
Controller for event_team option lookups (popups)
dataset/ETHPy150Open sahana/eden/controllers/event.py/team