Exemple #1
0
 def _destroy_props(self):
     rdb.delete(self._props_db_key)
     lc.delete(self._props_name)
Exemple #2
0
 def _destory_props(self):
     rdb.delete(self._props_db_key)
     lc.delete(self._props_lc_key)
Exemple #3
0
 def _set_props(self, props):
     rdb.set(self._props_db_key, json.dumps(props))
     lc.delete(self._props_name)
Exemple #4
0
 def _set_props(self, props):
     """ param `props` is a mapping object """
     rdb.set(self._props_db_key, json.dumps(props))
     lc.delete(self._props_lc_key)