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

后端 未结 0 1364
终归单人心
终归单人心 2020-12-23 03:36

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

Model



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