You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
426 B
10 lines
426 B
# app/controllers/quick_question.py
|
|
from app.core.crud import CRUDBase
|
|
from app.models.quick_question import QuickQuestion
|
|
from app.schemas.quick_question import QuickQuestionCreate, QuickQuestionUpdate
|
|
|
|
class QuickQuestionController(CRUDBase[QuickQuestion, QuickQuestionCreate, QuickQuestionUpdate]):
|
|
def __init__(self):
|
|
super().__init__(model=QuickQuestion)
|
|
|
|
quick_question_controller = QuickQuestionController() |