def update_es_data_doc_by_id(id): sync_elasticsearch.apply_async(args=[ElasticsearchItem.datadocs.value, id])
def update_es_tables_by_id(id): sync_elasticsearch.apply_async(args=[ElasticsearchItem.tables.value, id])
def update_es_query_cell_by_id(id): sync_elasticsearch.apply_async( args=[ElasticsearchItem.query_cells.value, id])
def update_es_users_by_id(uid): sync_elasticsearch.apply_async(args=[ElasticsearchItem.users.value, uid])
def update_es_boards_by_id(board_id: int): sync_elasticsearch.apply_async(args=[ElasticsearchItem.boards.value, board_id])
def update_es_query_execution_by_id(id): sync_elasticsearch.apply_async( args=[ElasticsearchItem.query_executions.value, id])