Pydantic model with data type field. Can't use Union, Optional, List

后端 未结 0 714
暖寄归人
暖寄归人 2021-02-12 11:06

I\'m using pydantic in my project and defined a model with Type field.

from typing import Type, Union
from pydantic import          


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