Pydantic show nested property without showing the whole object

前端 未结 0 1915
暗喜
暗喜 2021-01-19 19:17

I have the following object:

{
"name": "foo",
"parent": {"id": "bar", "age": 27}
}
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题