def execute(self, context): target_dttm = context['data_interval_end'] target_dttm += self.delta self.defer(trigger=DateTimeTrigger(moment=target_dttm), method_name="execute_complete")
def execute(self, context: Context): self.defer( trigger=DateTimeTrigger(moment=self.target_datetime), method_name="execute_complete", )
def execute(self, context: Context): self.defer( trigger=DateTimeTrigger(moment=timezone.parse(self.target_time)), method_name="execute_complete", )
def execute(self, context): dag = context['dag'] target_dttm = dag.following_schedule(context['execution_date']) target_dttm += self.delta self.defer(trigger=DateTimeTrigger(moment=target_dttm), method_name="execute_complete")