MCPcopy Create free account
hub / github.com/aws/aws-cli / open_file_chunk_reader_from_fileobj

Method open_file_chunk_reader_from_fileobj

awscli/s3transfer/utils.py:263–278  ·  view source on GitHub ↗
(
        self,
        fileobj,
        chunk_size,
        full_file_size,
        callbacks,
        close_callbacks=None,
    )

Source from the content-addressed store, hash-verified

261 )
262
263 def open_file_chunk_reader_from_fileobj(
264 self,
265 fileobj,
266 chunk_size,
267 full_file_size,
268 callbacks,
269 close_callbacks=None,
270 ):
271 return ReadFileChunk(
272 fileobj,
273 chunk_size,
274 full_file_size,
275 callbacks=callbacks,
276 enable_callbacks=False,
277 close_callbacks=close_callbacks,
278 )
279
280 def open(self, filename, mode):
281 return open(filename, mode)

Callers 4

get_put_object_bodyMethod · 0.80
_wrap_dataMethod · 0.80

Calls 1

ReadFileChunkClass · 0.70