from pydantic import BaseModel from typing import List, ClassVar class Person(BaseModel): id: int name: str async def create(conn): return None def get(conn, id: int) -> Person: return Person(id=id, name='test')