mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-04 20:33:12 +03:00
Fix pyupgrade
This commit is contained in:
parent
9744b13a2f
commit
1960d6dd8e
|
@ -88,9 +88,7 @@ class DjangoFormInputObjectType(InputObjectType):
|
||||||
elif "id" not in exclude_fields:
|
elif "id" not in exclude_fields:
|
||||||
cls.id = ID(required=False)
|
cls.id = ID(required=False)
|
||||||
|
|
||||||
super(DjangoFormInputObjectType, cls).__init_subclass_with_meta__(
|
super().__init_subclass_with_meta__(container=container, _meta=_meta, **options)
|
||||||
container=container, _meta=_meta, **options
|
|
||||||
)
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_enum_cnv_cls_instance(field_name, object_type):
|
def get_enum_cnv_cls_instance(field_name, object_type):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user