1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

fix handler bug

This commit is contained in:
Young
2020-11-19 09:13:05 +00:00
parent 4a0394ce05
commit aa971e017a

View File

@@ -289,7 +289,7 @@ class DataHandlerLP(DataHandler):
getattr(self, pname).append(
init_instance_by_config(
proc,
None if (isinstance(data_loader, dict) and "module_path" in data_loader) else data_loader_module,
None if (isinstance(proc, dict) and "module_path" in proc) else processor_module,
accept_types=processor_module.Processor))
self.process_type = process_type