diff --git a/rest_framework-stubs/fields.pyi b/rest_framework-stubs/fields.pyi index 3f88b2220..380797b34 100644 --- a/rest_framework-stubs/fields.pyi +++ b/rest_framework-stubs/fields.pyi @@ -463,7 +463,7 @@ class ChoiceField(Field[str, str | int | tuple[str | int, str | int | tuple], st _choices: dict def __init__( self, - choices: Iterable[Any], + choices: Sequence[Any], *, read_only: bool = ..., write_only: bool = ..., @@ -499,7 +499,7 @@ class MultipleChoiceField( def __init__( self, *, - choices: Iterable[Any], + choices: Sequence[Any], read_only: bool = ..., write_only: bool = ..., required: bool | None = None,