Skip to content

Commit

Permalink
Fix IncEx typehint.
Browse files Browse the repository at this point in the history
  • Loading branch information
koval committed Sep 7, 2023
1 parent 3ac320f commit c1d5535
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions huntflow_api_client/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
VacancyState,
)

IncEx: typing_extensions.TypeAlias = "Set[int] | Set[str] | Dict[int, Any] | Dict[str, Any] | None"
_FieldSet: typing_extensions.TypeAlias = "Set[int] | Set[str] | Dict[int, Any] | Dict[str, Any]"


class JsonRequestModel(BaseModel):
def jsonable_dict(
self,
*,
include: IncEx = None,
exclude: IncEx = None,
include: Optional[_FieldSet] = None,
exclude: Optional[_FieldSet] = None,
by_alias: bool = False,
exclude_unset: bool = False,
exclude_defaults: bool = False,
Expand Down

0 comments on commit c1d5535

Please sign in to comment.