add question api

This commit is contained in:
Robin COuret
2026-02-23 14:26:02 +01:00
parent 1b0e889f07
commit 978f726c10
6 changed files with 12 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
from sqlmodel import Session, select
from src.app.models.question import Question
from src.app.models.knowledge import Knowledge
from src.app.database import engine
def create_question(question: Question):