def _write_token_to_file(self):
        filename = os.path.realpath(os.path.expanduser(self.credential_file))
        data = json.dumps(self.token)
        with os.fdopen(os.open(filename, os.O_CREAT | os.O_WRONLY,
                               int('600', 8)), 'w') as f:
            f.write(data)
set flask config
dataset/ETHPy150Open apache/libcloud/libcloud/common/google.py/GoogleOAuth2Credential._write_token_to_file--crossover with--dataset/ETHPy150Open CelloCello/flask-go/flask_go/project_template/project_name/project_name.py/_config_app