mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-05 12:00:58 +08:00
type checking update
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
from qlib.backtest.exchange import Exchange
|
||||
from __future__ import annotations
|
||||
from typing import TYPE_CHECKING
|
||||
if TYPE_CHECKING:
|
||||
from qlib.backtest.exchange import Exchange
|
||||
from qlib.backtest.position import BasePosition
|
||||
from typing import List, Tuple, Union
|
||||
|
||||
|
||||
Reference in New Issue
Block a user