Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace default empty dict value by None in AzureBlobStorageToS3Operator #35977

Merged
merged 1 commit into from
Nov 30, 2023
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
8 changes: 4 additions & 4 deletions airflow/providers/amazon/aws/transfers/azure_blob_to_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def __init__(
dest_s3_extra_args: dict | None = None,
replace: bool = False,
s3_acl_policy: str | None = None,
wasb_extra_args: dict = {},
s3_extra_args: dict = {},
wasb_extra_args: dict | None = None,
s3_extra_args: dict | None = None,
**kwargs,
) -> None:
super().__init__(**kwargs)
Expand All @@ -106,8 +106,8 @@ def __init__(
self.dest_s3_extra_args = dest_s3_extra_args or {}
self.replace = replace
self.s3_acl_policy = s3_acl_policy
self.wasb_extra_args = wasb_extra_args
self.s3_extra_args = s3_extra_args
self.wasb_extra_args = wasb_extra_args or {}
self.s3_extra_args = s3_extra_args or {}

def execute(self, context: Context) -> list[str]:
# list all files in the Azure Blob Storage container
Expand Down