abdullah090809's picture
initial commit
55fd541
Raw
History Blame Contribute Delete
127 Bytes
from typing import Literal
from pydantic import BaseModel
class VoteBase(BaseModel):
post_id: int
dir: Literal[0, 1]