Skip to content

Commit d8a89a3

Browse files
committed
chore: re-add type requirement
1 parent 34cba14 commit d8a89a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

freqtrade/ft_types/plot_annotation_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class _BaseAnnotationType(TypedDict, total=False):
1616

1717

1818
class AreaAnnotationType(_BaseAnnotationType, total=False):
19-
type: Literal["area"]
19+
type: Required[Literal["area"]]
2020

2121

2222
class LineAnnotationType(_BaseAnnotationType, total=False):
23-
type: Literal["line"]
23+
type: Required[Literal["line"]]
2424
width: int
2525
line_style: Literal["solid", "dashed", "dotted"]
2626

0 commit comments

Comments
 (0)