smarie/python-autoclass

Provide __eq__

smarie opened this issue · 1 comments

Provide __eq__

Maybe @autodict #7 will be a preferred way to go here. If one needs eq to be generated and be based on some attributes equalities, simply adding @autodict should work. Indeed this adds Mapping as a subclass, which implements it already by comparing the dicts