mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-07 07:00:35 +03:00
Fix Python 2.7 super arguments
This commit is contained in:
parent
be4a6231ae
commit
3051374b46
|
@ -78,7 +78,7 @@ def test_django_objecttype_with_custom_meta():
|
|||
@classmethod
|
||||
def __init_subclass_with_meta__(cls, _meta=None, **options):
|
||||
_meta = ArticleTypeOptions(cls)
|
||||
super().__init_subclass_with_meta__(_meta=_meta, **options)
|
||||
super(ArticleType, cls).__init_subclass_with_meta__(_meta=_meta, **options)
|
||||
|
||||
class Article(ArticleType):
|
||||
class Meta:
|
||||
|
|
Loading…
Reference in New Issue
Block a user