builds fails when used with attrs classes containing private attributes
#3791
Labels
bug
something is clearly wrong here
Hi, I think I may have found a bug that occurs when using
buildswith automatic attribute inference fromattrs-built classes that have required but "private" attributes. The bug is probably due to the fact that the name exposed via the constructor differs from the attribute name in these cases, sinceattrsby default strips the leading underscore.Here a minimal example:
The error you get:
The text was updated successfully, but these errors were encountered: