generated from Luis/nextjs-python-web-template
Added sqlalchemy dependency
This commit is contained in:
@@ -3,6 +3,6 @@ from fastapi import APIRouter
|
|||||||
router = APIRouter()
|
router = APIRouter()
|
||||||
|
|
||||||
|
|
||||||
@router.get("/health", include_in_schema=False)
|
@router.get("/health", include_in_schema=True)
|
||||||
async def health() -> str:
|
async def health() -> str:
|
||||||
return "OK"
|
return "OK"
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
, gnupg
|
, gnupg
|
||||||
, e2fsprogs
|
, e2fsprogs
|
||||||
, mypy
|
, mypy
|
||||||
|
, sqlalchemy
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
||||||
@@ -41,6 +42,7 @@ let
|
|||||||
argcomplete # optional dependency: if not enabled, shell completion will not work
|
argcomplete # optional dependency: if not enabled, shell completion will not work
|
||||||
fastapi
|
fastapi
|
||||||
uvicorn # optional dependencies: if not enabled, webui subcommand will not work
|
uvicorn # optional dependencies: if not enabled, webui subcommand will not work
|
||||||
|
sqlalchemy
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestDependencies = runtimeDependencies ++ dependencies ++ [
|
pytestDependencies = runtimeDependencies ++ dependencies ++ [
|
||||||
|
|||||||
Reference in New Issue
Block a user