def get_session_data(self, pop=False):
    'Returns the session data as a dictionary.\n\n        :param pop:\n            If True, removes the session.\n        :returns:\n            A deserialized session, or None.\n        '
    func = (self.session.pop if pop else self.session.get)
    rv = func('_user', None)
    if rv:
        return self.store.deserialize_session(rv)
Returns the session data as a dictionary.

:param pop:
    If True, removes the session.
:returns:
    A deserialized session, or None.
def get_session_data(self, pop=False):
    'Returns the session data as a dictionary.\n\n        :param pop:\n            If True, removes the session.\n        :returns:\n            A deserialized session, or None.\n        '
    func = (self.session.pop if pop else self.session.get)
    rv = func('_user', None)
    if rv:
        return self.store.deserialize_session(rv)