add routers

This commit is contained in:
Robin COuret
2026-02-12 18:42:20 +01:00
parent 46539909dc
commit 74bb8a672c
16 changed files with 84 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ def create_question(question: Question):
with Session(engine) as session:
session.add(question)
session.commit()
session.refresh(question)
return question
def read_questions(knowledge):