Lee-W commented on issue #32732: URL: https://github.com/apache/airflow/issues/32732#issuecomment-1644940068
Format the example code for readbility ```python from datetime import timedelta from airflow.decorators import dag from airflow.providers.amazon.aws.operators.batch import BatchOperator default_args = { "owner": "rkulkarni", ...: ..., } @dag( default_args=default_args, catchup=False, schedule="0 1/8 * * *", ) def batch_job_to_do(): submit_batch_job = BatchOperator( task_id="submit_batch_job", job_name="job_name", job_queue="job_queue", job_definition="job_definition:1", overrides={}, aws_conn_id="aws_prod_batch", region_name="us-east-1", awslogs_enabled=True, awslogs_fetch_interval=timedelta(seconds=30), deferrable=True, ) submit_batch_job # type: ignore batch_job_to_do() ``` -- 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. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org