Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
rajaths010494 committed Aug 9, 2022
1 parent 2f5bdae commit fe7fd0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions astronomer/providers/amazon/aws/extractors/redshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fe7fd0e

Please sign in to comment.