diff --git a/airflow/providers/amazon/aws/hooks/s3.py b/airflow/providers/amazon/aws/hooks/s3.py index cfd4b833cf9c..03055cbeb2f0 100644 --- a/airflow/providers/amazon/aws/hooks/s3.py +++ b/airflow/providers/amazon/aws/hooks/s3.py @@ -73,7 +73,6 @@ def provide_bucket_name(func: Callable) -> Callable: "Decorator provide_bucket_name should only wrap a function with param 'bucket_name'." ) - # todo: raise immediately if func has no bucket_name arg async def maybe_add_bucket_name(*args, **kwargs): bound_args = function_signature.bind(*args, **kwargs)