The setter method in the Python model.mustache template has special handling for list and map properties which are also tagged as enumerated. The list validation checks the list members as expected, ...
In the Mastodon thread it was pointed out that using an amaranth.lib.enum.Enum by adding a shape= argument would Do The Right Thing, and indeed it does after converting all necessary code (e.g. manual ...