subkanthi commented on issue #19891:
URL: https://github.com/apache/airflow/issues/19891#issuecomment-999993844
Is there a suggested fix for missing argument,
airflow/providers/amazon/aws/example_dags have a lot of these errors.
```
airflow/providers/amazon/aws/example_dags/example_s3_bucket_tagging.py:45:
error: Missing named argument "bucket_name" for
"S3CreateBucketOperator"
create_bucket =
S3CreateBucketOperator(task_id='s3_bucket_tagging_dag_create',
region_name='us-east-1')
```
`with DAG(
dag_id='s3_bucket_tagging_dag',
schedule_interval=None,
start_date=datetime(2021, 1, 1),
catchup=False,
default_args={"bucket_name": BUCKET_NAME},
max_active_runs=1,
tags=['example'],
) as dag:
create_bucket =
S3CreateBucketOperator(task_id='s3_bucket_tagging_dag_create',
region_name='us-east-1')
`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]