mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 11:51:19 +00:00
chore: re-add type requirement
This commit is contained in:
@@ -16,11 +16,11 @@ class _BaseAnnotationType(TypedDict, total=False):
|
||||
|
||||
|
||||
class AreaAnnotationType(_BaseAnnotationType, total=False):
|
||||
type: Literal["area"]
|
||||
type: Required[Literal["area"]]
|
||||
|
||||
|
||||
class LineAnnotationType(_BaseAnnotationType, total=False):
|
||||
type: Literal["line"]
|
||||
type: Required[Literal["line"]]
|
||||
width: int
|
||||
line_style: Literal["solid", "dashed", "dotted"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user