2
votes

I am converting to Python 2.7

In doing so the Built-in in yaml is being invalid

application: nameofapp version: 1 runtime: python27 api_version: 1 threadsafe: true

builtins: - datastore_admin: on - remote_api: on

The above is the entry in my YAML file and the builtins: section errors - What am I doing wrong or missing?

1

1 Answers

3
votes

From the 1.6.1 release notes:

WARNING: Starting with the 1.6.2 release of the experimental Python 2.7 runtime, the mapreduce and datastore_admin builtins will not be supported.

The "right" way to use the datastore_admin tool is to enable it through the admin console instead of enabling the builtin in your app.yaml.

Credit