

def save(self, data, filename=None):
    auth = QiniuClass.Auth(self._access_key, self._secret_key)
    token = auth.upload_token(self._bucket_name)
    return QiniuClass.put_data(token, filename, data)

dataset/ETHPy150Open csuzhangxc/Flask-QiniuStorage/flask_qiniustorage.py Qiniu.save/original