google app engine - Under GAE, can a Python function detect if it is running locally or in production? -


i need app run differently depending on whether running on gae launcher on laptop or inside gae. app-id same, app.yaml same, there different can see?

have read of documentation on handling requests https://cloud.google.com/appengine/docs/python/requests#python_the_environment section on environment.

you see number of potentially relevant environment variables. 1 want server_software . contain "development" in value.

also has been answered before on so. in python, how can test if i'm in google app engine sdk?


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -