Skip to content

Commit

Permalink
chore(pydantic_changedetect): ♻️ Fix typing issues pydantic has also …
Browse files Browse the repository at this point in the history
…fixed nowadays
  • Loading branch information
ddanier committed Sep 17, 2024
1 parent 168b595 commit a09a04a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pydantic_changedetect/changedetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a09a04a

Please sign in to comment.