def __eq__(self, other):
if not isinstance(other, IndexProperty):<EOL><INDENT>return NotImplemented<EOL><DEDENT>return self.name == other.name and self.direction == other.direction<EOL>
Compare two index properties for equality.