mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
move Notes to be a "API only" type
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Dict, List, Optional
|
||||
from typing import Any, Dict, List
|
||||
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
@@ -6,7 +6,6 @@ from typing_extensions import TypedDict
|
||||
class BacktestMetadataType(TypedDict):
|
||||
run_id: str
|
||||
backtest_start_time: int
|
||||
notes: Optional[str]
|
||||
|
||||
|
||||
class BacktestResultType(TypedDict):
|
||||
@@ -26,3 +25,4 @@ def get_BacktestResultType_default() -> BacktestResultType:
|
||||
class BacktestHistoryEntryType(BacktestMetadataType):
|
||||
filename: str
|
||||
strategy: str
|
||||
notes: str
|
||||
|
||||
Reference in New Issue
Block a user