简体   繁体   中英

What is the correct syntax for api_version in app.yaml?

I was previously using "api_version: 1" but when I update to "api_version: 2" I get the error "api_version '2' is not supported by the 'python27' runtime." I also tried 1.1 with the same error message. I'm sure it is something simple, but haven't found it yet.

I needed to update "version: 1" to "version: 2", not "api_version: 1" to "api_version: 2". And, just for the record, "version: 1.1" did not work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM