mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Fixed field hash
This commit is contained in:
parent
14298f1c56
commit
e693f9b4dc
|
@ -144,7 +144,7 @@ class Field(object):
|
|||
return NotImplemented
|
||||
|
||||
def __hash__(self):
|
||||
return hash(self.creation_counter)
|
||||
return hash((self.creation_counter, self.object_type))
|
||||
|
||||
def __copy__(self):
|
||||
# We need to avoid hitting __reduce__, so define this
|
||||
|
|
Loading…
Reference in New Issue
Block a user