Use Attribute.alias
for init argument names if attrs>= 2022.2
#322
Labels
Milestone
Attribute.alias
for init argument names if attrs>= 2022.2
#322
Description
This is a tracking issue, filed from python-attrs/attrs#950.
Once
attrs
releases 2022.2, the__init__
argument name for all fields will be stored underAttribute.alias
.cattrs
should use this property if available, rather than re-executing private name mangling.The text was updated successfully, but these errors were encountered: