Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
BUCKET_NAME = os.environ.get('BUCKET_NAME', 'test-airflow-12345')


# [START howto_operator_s3_bucket]
@task(task_id="s3_bucket_dag_add_keys_to_bucket")
def upload_keys():
"""This is a python callback to add keys into the s3 bucket"""
Expand All @@ -41,7 +42,6 @@ def upload_keys():
)


# [START howto_operator_s3_bucket]
with DAG(
dag_id='s3_bucket_dag',
schedule_interval=None,
Expand Down