def create_transfer_manager(client, config, osutil=None):
executor_cls = None<EOL>if not config.use_threads:<EOL><INDENT>executor_cls = NonThreadedExecutor<EOL><DEDENT>return TransferManager(client, config, osutil, executor_cls)<EOL>
Creates a transfer manager based on configuration

    :type client: boto3.client
    :param client: The S3 client to use

    :type config: boto3.s3.transfer.TransferConfig
    :param config: The transfer config to use

    :type osutil: s3transfer.utils.OSUtils
    :param osutil: The os utility to use

    :rtype: s3transfer.manager.TransferManager
    :returns: A transfer manager based on parameters provided