insert tasks into work_package table, add PromptRepository

This commit is contained in:
Andreas Köpf
2022-12-16 12:26:52 +01:00
parent a20b513732
commit 082981b9d9
5 changed files with 306 additions and 3 deletions
+3 -1
View File
@@ -1,8 +1,10 @@
# -*- coding: utf-8 -*-
from app.api.v1 import labelers, prompts, tasks
from app.api.v1 import labelers, prompts, tasks, tasks2
from fastapi import APIRouter
api_router = APIRouter()
api_router.include_router(labelers.router, prefix="/labelers", tags=["labelers"])
api_router.include_router(prompts.router, prefix="/prompts", tags=["prompts"])
api_router.include_router(tasks.router, prefix="/tasks", tags=["tasks"])
api_router.include_router(tasks2.router, prefix="/task2", tags=["task2"]) # temporary