Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
necaris committed Dec 10, 2024
1 parent 8773414 commit c932dd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphene_pydantic/inputobjecttype.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ def __init_subclass_with_meta__(
_meta=None,
**options,
):
assert (
model and issubclass(model, pydantic.BaseModel)
assert model and issubclass(
model, pydantic.BaseModel
), f'You need to pass a valid Pydantic model in {cls.__name__}.Meta, received "{model}"'

assert isinstance(
Expand Down

0 comments on commit c932dd0

Please sign in to comment.