dima-lyublin commented on issue #26534:
URL: https://github.com/apache/airflow/issues/26534#issuecomment-1301889362
I have a similar issue in Airflow 2.4.2:
```
def create_hooks(self):
self.s3_hook = S3Hook(aws_conn_id=self.s3_conn_id)
self.s3_hook.extra_args = {"ContentType": content_type}
```
```
ERROR - Task failed with exception
Traceback (most recent call last):
File "", line 57, in execute
self.s3_hook.extra_args = {"ContentType": content_type}
AttributeError: can't set attribute
```
--
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]