When using the S3Upload task from the task library, I'm getting an error: "AttributeError: 'str' object has no attribute 'bucket'" - how to fix this?

This error occurs when setting run()-specific attributes within task initialization. The Slack discussion below provides more info.