[wtforms] Fix variance issues with SelectField.choices (#15503)

This commit is contained in:
Mark Steward
2026-03-11 13:17:48 +00:00
committed by GitHub
parent a9fbf47e67
commit 69b19d5b64
+1 -1
View File
@@ -46,7 +46,7 @@ class SelectFieldBase(Field):
class SelectField(SelectFieldBase):
coerce: Callable[[Any], Any]
choices: list[_Choice] | _GroupedChoices
choices: Sequence[_Choice] | _GroupedChoices | None
validate_choice: bool
def __init__(
self,