From 05346d4b3644deb5617b1a0c0bdffd74ca3da867 Mon Sep 17 00:00:00 2001 From: Tung Lieu Date: Fri, 13 Dec 2024 17:04:38 +0700 Subject: [PATCH] update fix --- datamimic_ce/tasks/task_util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datamimic_ce/tasks/task_util.py b/datamimic_ce/tasks/task_util.py index 8e83d8b..d2362d9 100644 --- a/datamimic_ce/tasks/task_util.py +++ b/datamimic_ce/tasks/task_util.py @@ -376,8 +376,8 @@ def gen_task_load_data_from_source( source_data = client.get_by_page_with_query(original_query=selector, pagination=load_pagination) else: source_data = client.get_by_page_with_type( - table_name=stmt.type or stmt.name, - pagination=load_pagination, # type: ignore + table_name=stmt.type or stmt.name, # type: ignore + pagination=load_pagination, ) else: raise ValueError(f"Cannot load data from client: {type(client).__name__}")