GitHub user potiuk added a comment to the discussion: Processing logic in Sensors
You should look at deferrable operators. Quite often deferrable operator is precisely the kind of combo that you wait on something first (and you defer until this happens) and then you do stuff. Also you might take a look at datasets instead of TriggerDagRunOperator - you can have one dag produce the dataset and the other consume it and this would automatically trigger the dependent dag when the first completes. That allows you to also visualy see the dependencies better and have your "Datasets" logically represent the actual datasets that are produced/consumed by separate dags - making them more logical GitHub link: https://github.com/apache/airflow/discussions/43579#discussioncomment-11121426 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
