Skip to content

2.1.0 - `@autoeq`

Compare
Choose a tag to compare
@smarie smarie released this 17 Nov 20:57
· 20 commits to master since this release

Features

  • Added independent @autoeq, supported in @autoclass and automatically activated when autodict=False. Fixed #32.

Bugfixes

  • Fixed @autorepr when only_known_fields is False: now property names are correctly used instead of the private names.

  • Fixed @autodict's generated __eq__ method: when the other object is a dictionary a direct comparison is now done before trying super.

See documentation page for details.