diff --git a/main.py b/main.py index d4fe99e..4cb0041 100644 --- a/main.py +++ b/main.py @@ -32,6 +32,7 @@ if not os.path.exists(tmpDir): app = FastAPI() # project operations + @app.get('/listprojects/') async def fastapi_list_projects() -> list[str]: return list_project() @@ -200,7 +201,7 @@ async def fast_get_title_schema(network: str) -> dict[str, dict[str, Any]]: return get_title_schema(network) @app.get('/gettitle/') -async def fast_get_title(network: str) -> dict[str, Any] +async def fast_get_title(network: str) -> dict[str, Any]: return get_title(network) ############################################################