def download_fileobj(self, Bucket, Key, Fileobj, ExtraArgs=None, Callback=None, Config=None):
 if (not hasattr(Fileobj, 'write')):
  raise ValueError('Fileobj must implement write')
 subscribers = None
 if (Callback is not None):
  subscribers = [ProgressCallbackInvoker(Callback)]
 config = Config
 if (config is None):
  config = TransferConfig()
 with create_transfer_manager(self, config) as manager:
  future = manager.download(bucket=Bucket, key=Key, fileobj=Fileobj, extra_args=ExtraArgs, subscribers=subscribers)
  return future.result()

def download_fileobj ( self , Bucket , Key , Fileobj , ExtraArgs = None , Callback = None , Config = None ) : if ( not hasattr ( Fileobj , 'write' ) ) : raise ValueError ( 'Fileobj must implement write' ) subscribers = None if ( Callback is not None ) : subscribers = [ ProgressCallbackInvoker ( Callback ) ] config = Config if ( config is None ) : config = TransferConfig ( ) with create_transfer_manager ( self , config ) as manager : future = manager . download ( bucket = Bucket , key = Key , fileobj = Fileobj , extra_args = ExtraArgs , subscribers = subscribers ) return future . result ( )
download an object from s3 to a file-like object .