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

Method __init__

awscli/s3transfer/__init__.py:716–726  ·  view source on GitHub ↗
(self, client, config=None, osutil=None)

Source from the content-addressed store, hash-verified

714 ]
715
716 def __init__(self, client, config=None, osutil=None):
717 self._client = client
718 self._client.meta.events.register(
719 'before-call.s3.*', self._update_checksum_context
720 )
721 if config is None:
722 config = TransferConfig()
723 self._config = config
724 if osutil is None:
725 osutil = OSUtils()
726 self._osutil = osutil
727
728 def _update_checksum_context(self, params, **kwargs):
729 request_context = params.get("context", {})

Callers

nothing calls this directly

Calls 3

TransferConfigClass · 0.70
OSUtilsClass · 0.70
registerMethod · 0.45

Tested by

no test coverage detected