From 835b47a7e73443f0ff7cd53719487cdc9c9687ab Mon Sep 17 00:00:00 2001 From: Young Date: Mon, 1 Feb 2021 10:40:45 +0000 Subject: [PATCH] simplify parameters --- qlib/data/dataset/handler.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qlib/data/dataset/handler.py b/qlib/data/dataset/handler.py index fa2dd5e35..2889c4465 100644 --- a/qlib/data/dataset/handler.py +++ b/qlib/data/dataset/handler.py @@ -60,7 +60,6 @@ class DataHandler(Serializable): data_loader: Tuple[dict, str, DataLoader] = None, init_data=True, fetch_orig=True, - **kwargs, ): """ Parameters @@ -77,8 +76,6 @@ class DataHandler(Serializable): intialize the original data in the constructor. fetch_orig : bool Return the original data instead of copy if possible. - **kwargs: - it will be passed into data_loader """ # Set logger self.logger = get_module_logger("DataHandler") @@ -91,7 +88,6 @@ class DataHandler(Serializable): data_loader, None if (isinstance(data_loader, dict) and "module_path" in data_loader) else data_loader_module, accept_types=DataLoader, - **kwargs, ) # what data to be loaded from data source