Skip to content

Commit 69b19d5

Browse files
authored
[wtforms] Fix variance issues with SelectField.choices (#15503)
1 parent a9fbf47 commit 69b19d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/WTForms/wtforms/fields/choices.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class SelectFieldBase(Field):
4646

4747
class SelectField(SelectFieldBase):
4848
coerce: Callable[[Any], Any]
49-
choices: list[_Choice] | _GroupedChoices
49+
choices: Sequence[_Choice] | _GroupedChoices | None
5050
validate_choice: bool
5151
def __init__(
5252
self,

0 commit comments

Comments
 (0)