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

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

node.js - Using Node without global install -

java - JavaScript + Thymeleaf - select onchange -