Skip to content

Commit

Permalink
fix: fix type error on BaseModel
Browse files Browse the repository at this point in the history
  • Loading branch information
osoken committed Oct 6, 2024
1 parent 40ff893 commit 6c9300b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions common/birdxplorer_common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from pydantic import BaseModel as PydanticBaseModel
from pydantic import ConfigDict, GetCoreSchemaHandler, HttpUrl, TypeAdapter
from pydantic.alias_generators import to_camel
from pydantic.main import IncEx
from pydantic_core import core_schema

IncEx: TypeAlias = "set[int] | set[str] | dict[int, IncEx] | dict[str, IncEx] | None"
StrT = TypeVar("StrT", bound="BaseString")
IntT = TypeVar("IntT", bound="BaseInt")
FloatT = TypeVar("FloatT", bound="BaseFloat")
Expand Down Expand Up @@ -467,8 +467,8 @@ def model_dump_json(
self,
*,
indent: int | None = None,
include: IncEx = None,
exclude: IncEx = None,
include: IncEx | None = None,
exclude: IncEx | None = None,
context: Dict[str, Any] | None = None,
by_alias: bool = True,
exclude_unset: bool = False,
Expand Down

0 comments on commit 6c9300b

Please sign in to comment.