equal
deleted
inserted
replaced
820 |
820 |
821 def get_shared_data(self, sessionid, key, default=None, pop=False, txdata=False): |
821 def get_shared_data(self, sessionid, key, default=None, pop=False, txdata=False): |
822 """return value associated to key in the session's data dictionary or |
822 """return value associated to key in the session's data dictionary or |
823 session's transaction's data if `txdata` is true. |
823 session's transaction's data if `txdata` is true. |
824 |
824 |
825 If pop is True, value will be removed from the dictionnary. |
825 If pop is True, value will be removed from the dictionary. |
826 |
826 |
827 If key isn't defined in the dictionnary, value specified by the |
827 If key isn't defined in the dictionary, value specified by the |
828 `default` argument will be returned. |
828 `default` argument will be returned. |
829 """ |
829 """ |
830 session = self._get_session(sessionid, setcnxset=False) |
830 session = self._get_session(sessionid, setcnxset=False) |
831 return session.get_shared_data(key, default, pop, txdata) |
831 return session.get_shared_data(key, default, pop, txdata) |
832 |
832 |