Fix PEP487 __set_name__
protocol in BaseModel
#4407
Merged
__set_name__
protocol in BaseModel
#4407