mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-16 12:51:14 +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):
|
class AreaAnnotationType(_BaseAnnotationType, total=False):
|
||||||
type: Literal["area"]
|
type: Required[Literal["area"]]
|
||||||
|
|
||||||
|
|
||||||
class LineAnnotationType(_BaseAnnotationType, total=False):
|
class LineAnnotationType(_BaseAnnotationType, total=False):
|
||||||
type: Literal["line"]
|
type: Required[Literal["line"]]
|
||||||
width: int
|
width: int
|
||||||
line_style: Literal["solid", "dashed", "dotted"]
|
line_style: Literal["solid", "dashed", "dotted"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user