diff --git a/litestar/contrib/pydantic/pydantic_init_plugin.py b/litestar/contrib/pydantic/pydantic_init_plugin.py index cf2a0215a1..0ca368453e 100644 --- a/litestar/contrib/pydantic/pydantic_init_plugin.py +++ b/litestar/contrib/pydantic/pydantic_init_plugin.py @@ -177,11 +177,11 @@ def encoders( encoders.update( cls._create_pydantic_v2_encoders( prefer_alias=prefer_alias, - exclude=exclude, # type: ignore[arg-type] + exclude=exclude, exclude_defaults=exclude_defaults, exclude_none=exclude_none, exclude_unset=exclude_unset, - include=include, # type: ignore[arg-type] + include=include, ) ) return encoders