We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cdd95c + 55dc657 commit d2c1e7cCopy full SHA for d2c1e7c
graphene_django/tests/test_types.py
@@ -76,9 +76,9 @@ class Meta:
76
abstract = True
77
78
@classmethod
79
- def __init_subclass_with_meta__(cls, _meta=None, **options):
80
- _meta = ArticleTypeOptions(cls)
81
- super(ArticleType, cls).__init_subclass_with_meta__(_meta=_meta, **options)
+ def __init_subclass_with_meta__(cls, **options):
+ options.setdefault('_meta', ArticleTypeOptions(cls))
+ super(ArticleType, cls).__init_subclass_with_meta__(**options)
82
83
class Article(ArticleType):
84
class Meta:
0 commit comments