We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa0650a commit 846422fCopy full SHA for 846422f
graphene_django/converter.py
@@ -96,7 +96,12 @@ class EnumWithDescriptionsType:
96
def description(self):
97
return str(named_choices_descriptions[self.name])
98
99
- return_type = Enum(name, list(named_choices), type=EnumWithDescriptionsType)
+ return_type = Enum(
100
+ name,
101
+ list(named_choices),
102
+ type=EnumWithDescriptionsType,
103
+ description="An enumeration.", # Temporary fix until https://github.com/graphql-python/graphene/pull/1502 is merged
104
+ )
105
return return_type
106
107
0 commit comments