1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00
Files
qlib/qlib/model/__init__.py
Linlang 3097dcc995 fix(security): use RestrictedUnpickler in load_instance (#2153)
* fix(security): enforce RestrictedUnpickler for load_instance to prevent unsafe pickle deserialization

* fix: lint error
2026-03-10 20:45:38 +08:00

9 lines
148 B
Python

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
import warnings
from .base import Model
__all__ = ["Model", "warnings"]