From f558f4f251844f82e43bd3457862b9e70bb0d4cf Mon Sep 17 00:00:00 2001 From: Jona Date: Wed, 8 Nov 2023 00:26:19 -0500 Subject: [PATCH] Oops again. D: --- cerulean_cloud/cloud_run_orchestrator/handler.py | 2 +- cerulean_cloud/database_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cerulean_cloud/cloud_run_orchestrator/handler.py b/cerulean_cloud/cloud_run_orchestrator/handler.py index 92251b4d..89da43ca 100644 --- a/cerulean_cloud/cloud_run_orchestrator/handler.py +++ b/cerulean_cloud/cloud_run_orchestrator/handler.py @@ -367,7 +367,7 @@ async def _orchestrate( ) orchestrator_run = await db_client.add_orchestrator( start_time, - start_time, # XXX This should be updated at end of orchestrator run + start_time, ntiles, noffsettiles, os.getenv("GIT_HASH"), diff --git a/cerulean_cloud/database_client.py b/cerulean_cloud/database_client.py index 1340d0a1..1c8248ce 100644 --- a/cerulean_cloud/database_client.py +++ b/cerulean_cloud/database_client.py @@ -273,7 +273,7 @@ async def deactivate_stale_slicks_from_scene_id(self, scene_id): .where( and_( db.Sentinel1Grd.scene_id == scene_id, - db.Slick.active is True, + db.Slick.active == True, # noqa ) ) )