From d8a89a3a42418dd2e9ce45ef2884e2c694ef07ca Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 8 Oct 2025 07:08:48 +0200 Subject: [PATCH] chore: re-add type requirement --- freqtrade/ft_types/plot_annotation_type.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/ft_types/plot_annotation_type.py b/freqtrade/ft_types/plot_annotation_type.py index dcc990013..27717b4cd 100644 --- a/freqtrade/ft_types/plot_annotation_type.py +++ b/freqtrade/ft_types/plot_annotation_type.py @@ -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"]