def set_session_data(self, data, **session_args):
    'Sets the session data as a list.\n\n        :param data:\n            Deserialized session data.\n        :param session_args:\n            Extra arguments for the session.\n        '
    self.session['_user'] = self.store.serialize_session(data)
    self.session.container.session_args.update(session_args)
Sets the session data as a list.

:param data:
    Deserialized session data.
:param session_args:
    Extra arguments for the session.
def set_session_data(self, data, **session_args):
    'Sets the session data as a list.\n\n        :param data:\n            Deserialized session data.\n        :param session_args:\n            Extra arguments for the session.\n        '
    self.session['_user'] = self.store.serialize_session(data)
    self.session.container.session_args.update(session_args)