def _upload(self, urls, source, token=None, to_master=True, **kwargs): urls = [self._resolve(proxy_url(url, proxy=self.proxy, meth='PUT', to_master=to_master)) for url in iterify(urls)] return upload(urls, source, token=self._token(url, token, 'PUT'), **kwargs)
def _upload(self, urls, source, token=None, **kwargs): urls = [ self._resolve(self._maybe_proxy(url, method='PUT')) for url in iterify(urls) ] return upload(urls, source, token=self._token(url, token, 'PUT'), **kwargs)
def _upload(self, urls, retries=10): urls = [(self._maybe_proxy(url, method='PUT'), fd) for url, fd in urls] return upload(urls, retries=retries)
def _upload(self, urls, source, token=None, **kwargs): urls = [self._resolve(self._maybe_proxy(url, method='PUT')) for url in iterify(urls)] return upload(urls, source, token=self._token(url, token, 'PUT'), **kwargs)
def _upload(self, urls, source, **kwargs): urls = [self._maybe_proxy(url, method='PUT') for url in iterify(urls)] return upload(urls, source, **kwargs)