From f1397730f2c112896d8c5243f0540688dded7889 Mon Sep 17 00:00:00 2001 From: Todd Morse Date: Fri, 12 Jul 2024 11:38:46 -0700 Subject: [PATCH] fix --- lib/idseq_utils/idseq_utils/batch_run_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/idseq_utils/idseq_utils/batch_run_helpers.py b/lib/idseq_utils/idseq_utils/batch_run_helpers.py index 0ca1c100..d6b35d81 100644 --- a/lib/idseq_utils/idseq_utils/batch_run_helpers.py +++ b/lib/idseq_utils/idseq_utils/batch_run_helpers.py @@ -110,7 +110,7 @@ def _key(self, batch_args: Dict) -> str: def get(self, batch_args: Dict) -> Optional[str]: try: resp = _s3_client.get_object(Bucket=self.bucket, Key=self._key(batch_args)) - resp["Body"].read().decode() + return resp["Body"].read().decode() except ClientError as e: if e.response["Error"]["Code"] == "NoSuchKey": return None