Lines Matching refs:resumable
298 def resumable(self): member in MediaUpload
415 resumable=False): argument
438 self._resumable = resumable
467 def resumable(self): member in MediaIoBaseUpload
539 resumable=False): argument
564 resumable=resumable)
582 chunksize=d['_chunksize'], resumable=d['_resumable'])
594 chunksize=DEFAULT_CHUNK_SIZE, resumable=False): argument
611 resumable=resumable)
762 resumable=None): argument
784 self.resumable = resumable
824 if self.resumable:
913 if self.resumable.size() is None:
916 size = str(self.resumable.size())
920 start_headers['X-Upload-Content-Type'] = self.resumable.mimetype()
948 if self.resumable.has_stream():
949 data = self.resumable.stream()
950 if self.resumable.chunksize() == -1:
952 chunk_end = self.resumable.size() - self.resumable_progress - 1
956 self.resumable.chunksize())
958 self.resumable_progress + self.resumable.chunksize() - 1,
959 self.resumable.size() - 1)
961 data = self.resumable.getbytes(
962 self.resumable_progress, self.resumable.chunksize())
965 if len(data) < self.resumable.chunksize():
1028 return (MediaUploadProgress(self.resumable_progress, self.resumable.size()),
1035 d['resumable'] = self.resumable.to_json()
1057 resumable=d['resumable'])
1338 if request.resumable is not None:
1574 headers=None, methodId=None, resumable=None): argument