(self, client, config=None, osutil=None)
| 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", {}) |
nothing calls this directly
no test coverage detected