[issue20632] Define a new __key__ protocol

Josh Rosenberg report at bugs.python.org
Mon Feb 12 23:17:33 EST 2018


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

Ah, never mind. Looks like dataclasses.InitVar fields seem to be the answer to excluding a field from the auto-generated methods.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue20632>
_______________________________________


More information about the Python-bugs-list mailing list