mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 20:54:16 +03:00
Fixed Argument comparison. Fixed #530
This commit is contained in:
parent
f68682e153
commit
ab5a11b399
|
@ -26,9 +26,9 @@ class Argument(MountedType):
|
|||
|
||||
def __eq__(self, other):
|
||||
return isinstance(other, Argument) and (
|
||||
self.name == other.name,
|
||||
self.type == other.type,
|
||||
self.default_value == other.default_value,
|
||||
self.name == other.name and
|
||||
self.type == other.type and
|
||||
self.default_value == other.default_value and
|
||||
self.description == other.description
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user