From f1c6f2d8e90c8f91f0b6ea6b92df277d9df1832d Mon Sep 17 00:00:00 2001 From: Rajath <92459020+rajaths010494@users.noreply.github.com> Date: Fri, 5 Aug 2022 18:31:00 +0530 Subject: [PATCH] fix mypy --- astronomer/providers/amazon/aws/extractors/redshift.py | 1 + 1 file changed, 1 insertion(+) diff --git a/astronomer/providers/amazon/aws/extractors/redshift.py b/astronomer/providers/amazon/aws/extractors/redshift.py index 0bbb499ff..8e2f7bd7b 100644 --- a/astronomer/providers/amazon/aws/extractors/redshift.py +++ b/astronomer/providers/amazon/aws/extractors/redshift.py @@ -22,3 +22,4 @@ def _get_xcom_redshift_job_id(self, task_instance: TaskInstance) -> Optional[str redshift_job_id = task_instance.xcom_pull(task_ids=task_instance.task_id, key="return_value") if len(redshift_job_id) > 0: return redshift_job_id[0] + return None