def __init__(self,<EOL>multipart_threshold=<NUM_LIT:8> * MB,<EOL>max_concurrency=<NUM_LIT:10>,<EOL>multipart_chunksize=<NUM_LIT:8> * MB,<EOL>num_download_attempts=<NUM_LIT:5>,<EOL>max_io_queue=<NUM_LIT:100>,<EOL>io_chunksize=<NUM_LIT> * KB,<EOL>use_threads=True):
super(TransferConfig, self).__init__(<EOL>multipart_threshold=multipart_threshold,<EOL>max_request_concurrency=max_concurrency,<EOL>multipart_chunksize=multipart_chunksize,<EOL>num_download_attempts=num_download_attempts,<EOL>max_io_queue_size=max_io_queue,<EOL>io_chunksize=io_chunksize,<EOL>)<EOL>for alias in self.ALIAS:<EOL><INDENT>setattr(self, alias, getattr(self, self.ALIAS[alias]))<EOL><DEDENT>self.use_threads = use_threads<EOL>
Configuration object for managed S3 transfers

        :param multipart_threshold: The transfer size threshold for which
            multipart uploads, downloads, and copies will automatically be
            triggered.

        :param max_concurrency: The maximum number of threads that will be
            making requests to perform a transfer. If ``use_threads`` is
            set to ``False``, the value provided is ignored as the transfer
            will only ever use the main thread.

        :param multipart_chunksize: The partition size of each part for a
            multipart transfer.

        :param num_download_attempts: The number of download attempts that
            will be retried upon errors with downloading an object in S3.
            Note that these retries account for errors that occur when
            streaming  down the data from s3 (i.e. socket errors and read
            timeouts that occur after recieving an OK response from s3).
            Other retryable exceptions such as throttling errors and 5xx
            errors are already retried by botocore (this default is 5). This
            does not take into account the number of exceptions retried by
            botocore.

        :param max_io_queue: The maximum amount of read parts that can be
            queued in memory to be written for a download. The size of each
            of these read parts is at most the size of ``io_chunksize``.

        :param io_chunksize: The max size of each chunk in the io queue.
            Currently, this is size used when ``read`` is called on the
            downloaded stream as well.

        :param use_threads: If True, threads will be used when performing
            S3 transfers. If False, no threads will be used in
            performing transfers: all logic will be ran in the main thread.