ellisms commented on issue #35449:
URL: https://github.com/apache/airflow/issues/35449#issuecomment-1944623918

   I started digging into this, and converting boto3.resource to boto3.client 
could introduce a breaking change. For example, `get_key` returns a 
resource.Object (and the object.load is nothing more than a wrapper around 
client.head_object), but a client.head_object returns a dictionary. It's easy 
enough to modify the hook and operator, but it would break for anyone that 
directly calls `hook.get_key()`.  Wanted to throw this out there for 
discussion. @Taragolis I thought maybe you'd have some thoughts. Are hook 
methods considered part of the public API?
   


-- 
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]

Reply via email to