(self)
Fetch the session data if it hasn't been retrieved it yet.
Fetch the session data if it hasn't been retrieved it yet.
Fetch the session data if it hasn t been retrieved it yet .
def ensure_data_loaded(self):
        """Fetch the session data if it hasn't been retrieved it yet."""
        self._accessed = True
        if self.data is None and self.sid:
            # 去存储中加载数据
            self.__retrieve_data()
def ensure_data_loaded ( self ) : self . _accessed = True if self . data is None and self . sid : # 去存储中加载数据 self . __retrieve_data ( )