def wamp_dispatch(message): func = import_string(message.content['func_path']) return func(*message.content['args'], **message.content['kwargs'])