예제 #1
0
 def _destroy_props(self):
     rdb.delete(self._props_db_key)
     lc.delete(self._props_name)
예제 #2
0
 def _destory_props(self):
     rdb.delete(self._props_db_key)
     lc.delete(self._props_lc_key)
예제 #3
0
 def _set_props(self, props):
     rdb.set(self._props_db_key, json.dumps(props))
     lc.delete(self._props_name)
예제 #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)