Update import for Knoc update
This commit is contained in:
parent
7c5fa45495
commit
b1bd86962f
1 changed files with 3 additions and 4 deletions
|
@ -16,8 +16,7 @@ from sqlmodel.ext.asyncio.session import AsyncSession
|
||||||
from hatchet_sdk.runnables.types import EmptyModel
|
from hatchet_sdk.runnables.types import EmptyModel
|
||||||
|
|
||||||
from knoc.settings import settings
|
from knoc.settings import settings
|
||||||
from knoc.workflows import all_wfs
|
from knoc.utils import ImportReport
|
||||||
from knoc.workflows.utils import ImportReport
|
|
||||||
from knoc.db import engine, aio_sql_to_df, get_session
|
from knoc.db import engine, aio_sql_to_df, get_session
|
||||||
|
|
||||||
from knoc_plugin_template.workflows import SimpleOutput, do_nothing_wf
|
from knoc_plugin_template.workflows import SimpleOutput, do_nothing_wf
|
||||||
|
@ -29,8 +28,8 @@ app = FastAPI()
|
||||||
|
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
async def template_api_home() -> HTMLResponse:
|
async def template_api_home():
|
||||||
return HTMLResponse("<p>Plugin template home</p>")
|
return {}
|
||||||
|
|
||||||
|
|
||||||
@app.get("/run_wf")
|
@app.get("/run_wf")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue