Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryashbhardwaj committed Sep 4, 2024
1 parent 985462f commit fe4c04a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/scheduler/airflow/__lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,8 @@ def poke(self, context):
replay_config = self._optimus_client.get_job_replay_config(self.project_name, self.name)
if 'jobConfig' in replay_config.keys():
if 'IGNORE_UPSTREAM' in replay_config['jobConfig'].keys():
return True
if replay_config['jobConfig']['IGNORE_UPSTREAM'] == "True":
return True
try:
upstream_schedule = self.get_schedule_interval(schedule_time)
except Exception as e:
Expand Down

0 comments on commit fe4c04a

Please sign in to comment.