@webapp2.cached_property
def session_attributes(self):
    'The list of attributes stored in a session.\n\n        This must be an ordered list of unique elements.\n        '
    seen = set()
    attrs = (self._session_attributes + self.user_attributes)
    return [a for a in attrs if ((a not in seen) and (not seen.add(a)))]
The list of attributes stored in a session.

This must be an ordered list of unique elements.
@webapp2.cached_property
def session_attributes(self):
    'The list of attributes stored in a session.\n\n        This must be an ordered list of unique elements.\n        '
    seen = set()
    attrs = (self._session_attributes + self.user_attributes)
    return [a for a in attrs if ((a not in seen) and (not seen.add(a)))]