class documentation

class MediaUploadProgress(object):

Constructor: MediaUploadProgress(resumable_progress, total_size)

View In Hierarchy

Status of a resumable upload.

Method __init__ Constructor.
Method progress Percent of upload completed, as a float.
Instance Variable resumable_progress Undocumented
Instance Variable total_size Undocumented
def __init__(self, resumable_progress, total_size):

Constructor.

Parameters
resumable_progressint, bytes sent so far.
total_sizeint, total bytes in complete upload, or None if the total upload size isn't known ahead of time.
def progress(self):

Percent of upload completed, as a float.

Returns
the percentage complete as a float, returning 0.0 if the total size of the upload is unknown.
resumable_progress =

Undocumented

total_size =

Undocumented