Exercise 5.4 Need help with eliminating names from typedproperty
Author: constant5Created Jul 28, 2023Updated Sep 28, 2024
In the last challenge of this exercise, we are asked to eliminate the need for providing names to `typedproperty`. I can't get this to work with the closure template provided. Can I get some more hints or just the solution, as I have been banging my head against this problem for a couple of hours now? I realize that `__set_name__` is called under the hood when assigning properties to the class, and this was pretty clear in the valiidate.py exercise. I'm unsure how this works when extending the class with these `typedproperty` methods. Thanks for the help.
Source: dabeaz-course/python-mastery