diff --git a/pydantic_changedetect/changedetect.py b/pydantic_changedetect/changedetect.py index 91244bc..398c799 100644 --- a/pydantic_changedetect/changedetect.py +++ b/pydantic_changedetect/changedetect.py @@ -473,8 +473,8 @@ def model_dump( # pyright: ignore [reportRedeclaration] self, *, mode: Union[Literal['json', 'python'], str] = 'python', - include: "IncEx" = None, - exclude: "IncEx" = None, + include: "IncEx | None" = None, + exclude: "IncEx | None" = None, context: Optional[Dict[str, Any]] = None, # Available since 2.7 by_alias: bool = False, exclude_unset: bool = False, @@ -513,8 +513,8 @@ def model_dump_json( # pyright: ignore [reportRedeclaration] self, *, indent: Optional[int] = None, - include: "IncEx" = None, - exclude: "IncEx" = None, + include: "IncEx | None" = None, + exclude: "IncEx | None" = None, context: Optional[Dict[str, Any]] = None, # Available since 2.7 by_alias: bool = False, exclude_unset: bool = False, @@ -553,8 +553,8 @@ def model_dump( # pyright: ignore [reportIncompatibleMethodOverride] self, *, mode: Union[Literal['json', 'python'], str] = 'python', - include: "IncEx" = None, - exclude: "IncEx" = None, + include: "IncEx | None" = None, + exclude: "IncEx | None" = None, by_alias: bool = False, exclude_unset: bool = False, exclude_defaults: bool = False, @@ -589,8 +589,8 @@ def model_dump_json( # pyright: ignore [reportIncompatibleMethodOverride] self, *, indent: Optional[int] = None, - include: "IncEx" = None, - exclude: "IncEx" = None, + include: "IncEx | None" = None, + exclude: "IncEx | None" = None, by_alias: bool = False, exclude_unset: bool = False, exclude_defaults: bool = False,