We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f3b77 commit 6a377beCopy full SHA for 6a377be
graphene/core/fields.py
@@ -184,8 +184,7 @@ def __repr__(self):
184
def __eq__(self, other):
185
# Needed for @total_ordering
186
if isinstance(other, Field):
187
- return self.creation_counter == other.creation_counter and \
188
- self.object_type == other.object_type
+ return self.creation_counter == other.creation_counter
189
return NotImplemented
190
191
def __lt__(self, other):
@@ -195,7 +194,7 @@ def __lt__(self, other):
195
194
196
197
def __hash__(self):
198
- return hash((self.creation_counter, self.object_type))
+ return hash((self.creation_counter))
199
200
def __copy__(self):
201
# We need to avoid hitting __reduce__, so define this
0 commit comments