Pydantic enum field does not get converted to string

后端 未结 0 898
情书的邮戳
情书的邮戳 2020-12-09 09:43

I am trying to restrict one field in a class to an enum. However, when I try to get a dictionary out of class, it doesn\'t get converted to string. Instead it retains the en

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