Pydantic: How to use one field's value to set values for other fields?

前端 未结 0 1385
一向
一向 2021-02-18 17:04

What I Have

Dictionary:

user_dict = {\'user\': {\'field1\': \'value1\',
                      \'field2\': \'value2\'},
         


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