

def __init__(self, root_folder, container, ignore, upload_key, client, ttl=None):
    self.root_folder = root_folder.rstrip('/')
    self.ignore = utils.coerce_to_list(ignore)
    self.upload_key = upload_key
    self.ttl = ttl
    self.client = client
    if container:
        if isinstance(container, six.string_types):
            self.container = self.client.create(container)
        else:
            self.container = container
    else:
        self.container = self.client.create(self.folder_name_from_path(root_folder))
    threading.Thread.__init__(self)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py FolderUploader.__init__/original