Skip to content

Commit

Permalink
style: reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions authored and dwinston committed Jan 17, 2024
1 parent 81163ec commit 75df9b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nmdc_runtime/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,13 +334,17 @@ async def root():
BASE_URL_EXTERNAL + "/docs",
status_code=status.HTTP_303_SEE_OTHER,
)


@api_router.get("/version")
async def get_versions():
return {
"nmdc-runtime": get_version(),
"fastapi": fastapi.__version__,
"nmdc-schema": version("nmdc_schema"),
}


app = FastAPI(
title="NMDC Runtime API",
version=get_version(),
Expand Down

0 comments on commit 75df9b8

Please sign in to comment.