def upload_folder(self, folder_path, container=None, ignore=None, ttl=None):
        if not os.path.isdir(folder_path):
            raise exc.FolderNotFound("No such folder: '%s'" % folder_path)

        ignore = utils.coerce_to_list(ignore)
        total_bytes = utils.folder_size(folder_path, ignore)
        upload_key = str(uuid.uuid4())
        self.folder_upload_status[upload_key] = {"continue": True,
                "total_bytes": total_bytes,
                "uploaded": 0,
                }
        self._upload_folder_in_background(folder_path, container, ignore,
                upload_key, ttl)
        return (upload_key, total_bytes)
Run migrations in 'online' mode.
dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py/StorageClient.upload_folder--crossover with--dataset/ETHPy150Open quantmind/lux/lux/extensions/odm/commands/template/lux/env.py/run_migrations_online