There is a possible bug in in the last release v5.8.2 in the get_object function.
The call to GetObjectResponse is missing the buffer_size argument.
def get_object(self, request, buffer_size=1048576):
if not isinstance(request, GetObjectRequest):
raise TypeError('request for get_object should be of type GetObjectRequest but was ' + request.__class__.__name__)
with self.net_client.open_response(request) as resp:
return GetObjectResponse(resp, request)
The last line should be
return GetObjectResponse(resp, request, buffer_size)