Pydantic model does not validate on assignment with reproducable code

前端 未结 0 1027
清酒与你
清酒与你 2020-12-09 16:16

When assigning an incorrect attribute to a Pydantic model field, no validation error occurs.

from pydantic import BaseM         


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