getattr and setattr on nested subobjects / chained properties?

后端 未结 0 1620
天命终不由人
天命终不由人 2020-12-23 07:45

I have an object (Person) that has multiple subobjects (Pet, Residence) as properties. I want to be able to dynamically set the properties of these

相关标签:
回答
  • 消灭零回复
提交回复
热议问题