Files
study-agent-service/schemas/mistake.py

19 lines
298 B
Python

from typing import List
from pydantic import BaseModel
class MistakeResponse(BaseModel):
id: int
subject: str
module: str
name: str
type: str
question: str
options: List[str]
answer: List[str]
wrongCount: int
class Config:
from_attributes = True