Lines Matching refs:resumable
309 def resumable(self): member in MediaUpload
425 def __init__(self, fd, mimetype, chunksize=DEFAULT_CHUNK_SIZE, resumable=False): argument
448 self._resumable = resumable
477 def resumable(self): member in MediaIoBaseUpload
549 self, filename, mimetype=None, chunksize=DEFAULT_CHUNK_SIZE, resumable=False argument
574 fd, mimetype, chunksize=chunksize, resumable=resumable
596 resumable=d["_resumable"],
613 resumable=False, argument
631 fd, mimetype, chunksize=chunksize, resumable=resumable
796 resumable=None, argument
819 self.resumable = resumable
859 if self.resumable:
955 if self.resumable.size() is None:
958 size = str(self.resumable.size())
962 start_headers["X-Upload-Content-Type"] = self.resumable.mimetype()
994 if self.resumable.has_stream():
995 data = self.resumable.stream()
996 if self.resumable.chunksize() == -1:
998 chunk_end = self.resumable.size() - self.resumable_progress - 1
1002 data, self.resumable_progress, self.resumable.chunksize()
1005 self.resumable_progress + self.resumable.chunksize() - 1,
1006 self.resumable.size() - 1,
1009 data = self.resumable.getbytes(
1010 self.resumable_progress, self.resumable.chunksize()
1014 if len(data) < self.resumable.chunksize():
1079 MediaUploadProgress(self.resumable_progress, self.resumable.size()),
1087 d["resumable"] = self.resumable.to_json()
1109 resumable=d["resumable"],
1395 if request.resumable is not None:
1642 resumable=None, argument