def record_handler(record_type):
    def decorator(method):
        setattr(method, HANDLE_RECORD_ATTR, record_type)
        return method
    return decorator
Mark method as a tecord handler of this record type
dataset/ETHPy150Open momyc/gevent-fastcgi/gevent_fastcgi/server.py/record_handler