mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-08 23:50:38 +03:00
Fixed required get_type in Enum for UnmountedType
This commit is contained in:
parent
4f52498a06
commit
fd16de8748
|
@ -51,4 +51,5 @@ class EnumTypeMeta(type):
|
|||
|
||||
|
||||
class Enum(six.with_metaclass(EnumTypeMeta, UnmountedType)):
|
||||
pass
|
||||
def get_type(self):
|
||||
return type(self)
|
||||
|
|
Loading…
Reference in New Issue
Block a user