parameters: (self)
docstring: Fetch the session data if it hasn't been retrieved it yet.
docstring_summary: Fetch the session data if it hasn't been retrieved it yet.
docstring_tokens: Fetch the session data if it hasn t been retrieved it yet .
function: 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()
function_tokens: def ensure_data_loaded ( self ) : self . _accessed = True if self . data is None and self . sid : # 去存储中加载数据 self . __retrieve_data ( )