I am trying to follow this explanation: https://developers.google.com/appengine/docs/python/tools/uploadingdata#Downloading_and_Uploading_All_Data
but when I add to my app.yaml:
- url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin
and trying to update my application, I get:
Parsing yaml file error: invalid object: threadsafe cannot be enabled with CGI handler: $ PYTHON_LIB / Google / AppEngine / internal / remote_api / handler.py
Error.
What am I doing wrong?
Thanks!
By the way, this is my app.yaml:
application: XXXX-my-application-name version: 1 runtime: python27 api_version: 1 threadsafe: true handlers: - url: /static static_dir: static - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py login: admin - url: /favicon.ico static_files: static/favicon.ico upload: static/favicon.ico - url: /.* script: main.app
source share