Closed miketheman closed 1 year ago
I'm not opposed to implementing __eq__
, but it's simple enough to check equality via their signatures:
assert deserialized1.signature == deserialized2.signature
That's ... almost too simple. 🤦
Thanks for the pointer! Happy to close this, or leave it open if you want to implement __eq__
based on signature comparison, I guess?
Example:
Returns
False
, and I think it should returnTrue
.Does the Macaroon class need
__eq__
implemented, or is there some other way to compare Macaroons?