From bb24ebf361f563cb70cb3ffa5bbc28d6791f094e Mon Sep 17 00:00:00 2001 From: Donny Winston Date: Tue, 21 Nov 2023 09:24:24 -0500 Subject: [PATCH] Update main.py to display scm version --- nmdc_runtime/api/main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nmdc_runtime/api/main.py b/nmdc_runtime/api/main.py index 007f3cc5..71a6863e 100644 --- a/nmdc_runtime/api/main.py +++ b/nmdc_runtime/api/main.py @@ -351,9 +351,7 @@ async def get_versions(): app = FastAPI( title="NMDC Runtime API", - # TODO this does not work: `version=get_version()` - # Below is hotfix for reasonable display in prod deployment. - version="1.0.7", + version=get_version(), description=( "The NMDC Runtime API, via on-demand functions " "and via schedule-based and sensor-based automation, "