def url(self, filename):
        if self.base_url is _missing:
            base_url = 'http://%s.b0.upaiyun.com/' % self.bucket
        else:
            base_url = self.base_url

        if self.base_dir:
            urlbase = urljoin(base_url, self.base_dir)

        return urljoin(urlbase, filename)
Generate the url for a filename.
dataset/ETHPy150Open lepture/flask-storage/flask_storage/upyun.py/UpyunStorage.url