def action(name):

    def decorator(func):
        func.wsgi_action = name
        return func
    return decorator
Mark a function as an action.
dataset/ETHPy150Open openstack/rack/rack/api/wsgi.py/action