From 803c94137db716f8b3e36ca9d6176241cd2068cb Mon Sep 17 00:00:00 2001 From: Oliver Zander Date: Mon, 10 Nov 2025 17:52:48 +0100 Subject: [PATCH] fixed typing for help texts in application type --- input/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/views.py b/input/views.py index 2fb898f..561a2b7 100755 --- a/input/views.py +++ b/input/views.py @@ -85,13 +85,13 @@ class ApplicationType: form_class: type[BaseApplicationForm] link: str label: Optional[str] = None - help_texts: Optional[str] = None + help_texts: Optional[dict] = None def __post_init__(self): if self.label is None: self.label = TYPE_CHOICES[self.code] - if self.help_texts is None: + if self.help_texts is None: # pragma: no branch self.help_texts = HELP_TEXTS.get(self.code) @property