mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 14:56:55 +08:00
fix(security): use RestrictedUnpickler in load_instance (#2153)
* fix(security): enforce RestrictedUnpickler for load_instance to prevent unsafe pickle deserialization * fix: lint error
This commit is contained in:
@@ -13,7 +13,6 @@ from qlib.workflow import R
|
||||
from qlib.tests import TestAutoData
|
||||
from qlib.tests.config import GBDT_MODEL, get_dataset_config, CSI300_MARKET
|
||||
|
||||
|
||||
CSI300_GBDT_TASK = {
|
||||
"model": GBDT_MODEL,
|
||||
"dataset": get_dataset_config(
|
||||
|
||||
Reference in New Issue
Block a user