diff --git a/rest_framework-stubs/fields.pyi b/rest_framework-stubs/fields.pyi index df66ac69f..9c3c0ae80 100644 --- a/rest_framework-stubs/fields.pyi +++ b/rest_framework-stubs/fields.pyi @@ -689,7 +689,7 @@ class SerializerMethodField(Field): method_name: str = ... def __init__( self, - method_name: str = ..., + method_name: Optional[str] = ..., *, read_only: bool = ..., write_only: bool = ...,