openMetadataInitiative / openMINDS_Python

Python package for the openMINDS metadata models. The package contains all openMINDS schemas as Python classes in addition to schema base classes and utility methods.
MIT License
1 stars 2 forks source link

Add __eq__ and related methods to Node and Collection #38

Open apdavison opened 6 months ago

apdavison commented 6 months ago

To make it easier to check if two nodes are the same, and if two collections are the same, we should add __eq__ and/or __ne__ methods to the Node, Link, and Collection classes.