<reponame>TheSamabo/thingsboard-gateway<filename>thingsboard_gateway/storage/sqlite/database_action_type.py
from enum import Enum, auto

class DatabaseActionType(Enum):
    WRITE_DATA_STORAGE = auto() # Writes do not require a response on the request
    WRITE_STORAGE_INDEX = auto()
    READ_CONNECTED_DEVICES = auto() # Reads need response to get requested data
    READ_DEVICE = auto() # RPC CALL
    DELETE_OLD_DATA = auto()
from enum import Enum, auto

class DatabaseActionType(Enum):
    WRITE_DATA_STORAGE = auto() # Writes do not require a response on the request
    WRITE_STORAGE_INDEX = auto()
    READ_CONNECTED_DEVICES = auto() # Reads need response to get requested data
    READ_DEVICE = auto() # RPC CALL
    DELETE_OLD_DATA = auto()
# Writes do not require a response on the request # Reads need response to get requested data # RPC CALL