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