move Notes to be a "API only" type

This commit is contained in:
Matthias
2023-08-01 06:57:02 +02:00
parent 0d71a74d8a
commit 51879ffd2c

View File

@@ -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