mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-13 10:00:39 +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)):
|
class Enum(six.with_metaclass(EnumTypeMeta, UnmountedType)):
|
||||||
pass
|
def get_type(self):
|
||||||
|
return type(self)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user