Skip to content

Commit 64aa28b

Browse files
authored
bring back choicetype todo
1 parent bdd5d83 commit 64aa28b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphene_sqlalchemy/converter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def convert_enum_to_enum(type, column, registry=None):
161161
return lambda: enum_for_sa_enum(type, registry or get_global_registry())
162162

163163

164+
# TODO Make ChoiceType conversion consistent with other enums
164165
@convert_sqlalchemy_type.register(ChoiceType)
165166
def convert_choice_to_enum(type, column, registry=None):
166167
name = "{}_{}".format(column.table.name, column.name).upper()

0 commit comments

Comments
 (0)