def set_handler_doc(cls, handler_defs):
    """ generate handler docstring """
    cls._doc_ = 'Custom dispatch handler with default args.\n\nParameters:\n'
    for k, v in handler_defs.items():
        cls._doc_ += '  %s = %s\n' % (k, v)
