Beispiel #1
0
 def _remove_device_data_by_uuid(self, _uuid):
     if _uuid == None:
         return
     _row = PCSocketDeviceData(uuid=_uuid)
     _row.delete_redis_keys(self.redis)
     _row.async_delete(self.redis)
     return
Beispiel #2
0
 def _remove_device_data_by_uuid(self, _uuid):
     if _uuid == None:
         return
     _row = PCSocketDeviceData(uuid=_uuid)
     _row.delete_redis_keys(self.redis)
     _row.async_delete()
     return
Beispiel #3
0
 def _remove_device_data_by_pattern(self, _pattern):
     _keys = self.redis.keys(_pattern)
     for _i in _keys:
         _row = PCSocketDeviceData(uuid=self.redis.get(_i))
         _row.delete_redis_keys(self.redis)
         _row.async_delete(self.redis)
     return
Beispiel #4
0
 def _remove_device_data_by_pattern(self, _pattern):
     _keys = self.redis.keys(_pattern)
     for _i in _keys:
         _row = PCSocketDeviceData(uuid=self.redis.get(_i))
         _row.delete_redis_keys(self.redis)
         _row.async_delete()
     return