Update import for Knoc update

This commit is contained in:
phil 2025-06-19 15:50:45 +02:00
parent 7c5fa45495
commit b1bd86962f

View file

@ -16,8 +16,7 @@ from sqlmodel.ext.asyncio.session import AsyncSession
from hatchet_sdk.runnables.types import EmptyModel
from knoc.settings import settings
from knoc.workflows import all_wfs
from knoc.workflows.utils import ImportReport
from knoc.utils import ImportReport
from knoc.db import engine, aio_sql_to_df, get_session
from knoc_plugin_template.workflows import SimpleOutput, do_nothing_wf
@ -29,8 +28,8 @@ app = FastAPI()
@app.get("/")
async def template_api_home() -> HTMLResponse:
return HTMLResponse("<p>Plugin template home</p>")
async def template_api_home():
return {}
@app.get("/run_wf")