From c932dd0affa28c0e1976b5ebb95dee2600e9bfb4 Mon Sep 17 00:00:00 2001 From: Rami Chowdhury Date: Mon, 9 Dec 2024 23:49:50 -0500 Subject: [PATCH] Lint --- graphene_pydantic/inputobjecttype.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphene_pydantic/inputobjecttype.py b/graphene_pydantic/inputobjecttype.py index 08e4960..c7d8a5e 100644 --- a/graphene_pydantic/inputobjecttype.py +++ b/graphene_pydantic/inputobjecttype.py @@ -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(