Pydantic, allow property to be parsed or passed to constructor but make it immutable

后端 未结 0 1178
时光说笑
时光说笑 2020-12-23 03:24

I am trying to make a Pydantic model which for the most part is mutable BUT I want one member to be immutable.

Model



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