def marshal(self):
    '\n      Implements :func:`autobahn.wamp.interfaces.IMessage.marshal`\n      '
    details = {}
    if self.kwargs:
        return [self.MESSAGE_TYPE, self.request_type, self.request, details, self.error, self.args, self.kwargs]
    elif self.args:
        return [self.MESSAGE_TYPE, self.request_type, self.request, details, self.error, self.args]
    else:
        return [self.MESSAGE_TYPE, self.request_type, self.request, details, self.error]
Implements :func:`autobahn.wamp.interfaces.IMessage.marshal`
def marshal(self):
    '\n      \n      '
    details = {}
    if self.kwargs:
        return [self.MESSAGE_TYPE, self.request_type, self.request, details, self.error, self.args, self.kwargs]
    elif self.args:
        return [self.MESSAGE_TYPE, self.request_type, self.request, details, self.error, self.args]
    else:
        return [self.MESSAGE_TYPE, self.request_type, self.request, details, self.error]