mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-18 12:02:19 +03:00
Default enum description to "An enumeration."
default to this string, which is used in many tests, is causing
This commit is contained in:
parent
57cbef6666
commit
ee60ad08c2
|
@ -63,7 +63,7 @@ class EnumMeta(SubclassWithMeta_Meta):
|
|||
cls, enum, name=None, description=None, deprecation_reason=None
|
||||
): # noqa: N805
|
||||
name = name or enum.__name__
|
||||
description = description or enum.__doc__
|
||||
description = description or "An enumeration."
|
||||
meta_dict = {
|
||||
"enum": enum,
|
||||
"description": description,
|
||||
|
|
Loading…
Reference in New Issue
Block a user