Python 3.7 and above Python 3.9 and above. from typing import Type from pydantic import BaseModel, ValidationError class Foo: pass class Bar(Foo): pass ...
確定! 回上一頁