vikramkoka commented on issue #14050:
URL: https://github.com/apache/airflow/issues/14050#issuecomment-773062745


   > @vikramkoka how can one specify SLA on DAG level? The DAG class has no 
`sla` argument 🤔
   
   @turbaszek Sorry, I did not say that correctly. It was through the default 
DAG parameters as shown below, 
   default_args = {
       "owner": "airflow",
       "depends_on_past": False,
       "email_on_failure": False,
       "email_on_retry": False,
       #    'retries': 1,
       "retry_delay": timedelta(minutes=5),
       "sla": timedelta(seconds=6),
       "email": ["[email protected]"],
   }
   
   However, after re-testing, it turns out that it fails too.
   Good catch in finding this! 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to