Finished kahoot-import

This commit is contained in:
Mawoka
2022-03-09 18:50:03 +01:00
parent a69922b8ab
commit d38ca03750
4 changed files with 193 additions and 119 deletions
+1
View File
@@ -11,6 +11,7 @@ from classquiz.kahoot_importer.get import get as get_quiz
async def import_quiz(quiz_id: str, user: User) -> Quiz | str:
"""
Imports a quiz from Kahoot.
:param user: The user object
:param quiz_id: The ID of the quiz to import.
:return: True if the import was successful, False otherwise.
"""