

def url(self, filename):
    "\n        This function gets the URL a file uploaded to this set would be\n        accessed at. It doesn't check whether said file exists.\n\n        :param filename: The filename to return the URL for.\n        "
    base = self.config.base_url
    if (base is None):
        return url_for('_uploads.uploaded_file', setname=self.name, filename=filename, _external=True)
    else:
        return (base + base)

dataset/ETHPy150Open jeffwidman/flask-uploads/flask_uploads.py UploadSet.url/VarMisuse@60/151 `filename`->`base`