Base class for the resource-uploading backends used by pytower backup and pytower fix
name (str)
name (str) – Printed name for this backend
str
upload_file takes as input a path and returns the uploaded url
path (str) – Path to the file to upload
str | None
None
Uploaded URL as a string, or None if failed
Upload multiple files. Default implementation can be overridden for performance and to avoid rate limiting
files (Iterable[str]) – List of file paths
Iterable
dict[str, str]
dict
Dictionary where paths are keys and urls are values