Is there a way to add a value to an existing graphene.Enum
?
I want to use graphene-sqlalchemy sort_enum() functionality and to add additional functionality of my own - TOTAL_COUNT_ASC
and TOTAL_COUNT_DESC
that will enable sorting by total count, but I can figure out how to do it. Directly adding the fields to the graphene.Enum doesn't work:
SqlModel.sort_enum().TOTAL_COUNT_ASC = "TOTAL_COUNT_ASC"
Thanks,