You could simply define another model containing the items list as a field: from pydantic import BaseModel from typing import List class ...
確定! 回上一頁