mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 09:36:44 +03:00
Include extra data in Meta in _meta
This commit is contained in:
parent
355601bd5c
commit
bc73823084
|
@ -43,6 +43,7 @@ class BaseType(SubclassWithMeta):
|
|||
return
|
||||
_meta.name = name or cls.__name__
|
||||
_meta.description = description or trim_docstring(cls.__doc__)
|
||||
_meta.extra = _kwargs
|
||||
_meta.freeze()
|
||||
cls._meta = _meta
|
||||
super(BaseType, cls).__init_subclass_with_meta__()
|
||||
|
|
Loading…
Reference in New Issue
Block a user