From 1960d6dd8e75b830fc61640c859ab296f2fdb725 Mon Sep 17 00:00:00 2001 From: Andrey Shustov Date: Fri, 5 May 2023 05:46:22 +0300 Subject: [PATCH] Fix pyupgrade --- graphene_django/forms/types.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/graphene_django/forms/types.py b/graphene_django/forms/types.py index 7b1bb39..132095b 100644 --- a/graphene_django/forms/types.py +++ b/graphene_django/forms/types.py @@ -88,9 +88,7 @@ class DjangoFormInputObjectType(InputObjectType): elif "id" not in exclude_fields: cls.id = ID(required=False) - super(DjangoFormInputObjectType, cls).__init_subclass_with_meta__( - container=container, _meta=_meta, **options - ) + super().__init_subclass_with_meta__(container=container, _meta=_meta, **options) @staticmethod def get_enum_cnv_cls_instance(field_name, object_type):