@property
    def config(self):
        if self._config is not None:
            return self._config
        try:
            return current_app.upload_set_config[self.name]
        except AttributeError:
            raise RuntimeError("cannot access configuration outside request")
This gets the current configuration. By default, it looks up the
dataset/ETHPy150Open jeffwidman/flask-uploads/flask_uploads.py/UploadSet.config