mirror of
https://github.com/graphql-python/graphene.git
synced 2025-09-21 19:32:33 +03:00
Fix - ignore parameters we do not recognize
This commit is contained in:
parent
bd2f4a3449
commit
079798b3b4
|
@ -34,7 +34,7 @@ class BaseType(SubclassWithMeta):
|
|||
return type(class_name, (cls,), {"Meta": options})
|
||||
|
||||
@classmethod
|
||||
def __init_subclass_with_meta__(cls, name=None, description=None, _meta=None):
|
||||
def __init_subclass_with_meta__(cls, name=None, description=None, _meta=None, **_kwargs):
|
||||
assert "_meta" not in cls.__dict__, "Can't assign directly meta"
|
||||
if not _meta:
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue
Block a user