[google-appengine] How to simulate app engine environment for a python3 application locally

2019-02-12 Thread Santiago Del Valle
I'm creating a micro service that should run on a python 3 standard environment of Google App Engine. I want to run it in a simulated Google app engine environment. In the python2 standard environment you could do something like: dev_appserver.py [PATH_TO_YOUR_APP] > but as I understand this

[google-appengine] X-Appengine-Inbound-Appid not being set in python3 standard environment

2019-06-04 Thread Santiago Del Valle
I did a migration of a python 2 app in the standard environment to python 3. One of the things that changed was how we communicated with other services. For instance we communicated to another service like this: urlfetch.create_rpc(deadline=60) urlfetch.make_fetch_call(rpc, url) And in the

[google-appengine] App Engine APIs recommended replacement for python 3

2019-04-22 Thread Santiago Del Valle
I was browsing the documentation about python 3 and python 2 standard environment differences, because we are migrating an app that uses python 2 and communicates with other services on python 2. https://cloud.google.com/appengine/docs/standard/python3/python-differences The documentation does

[google-appengine] Header names after september 30 (Load balancers)

2019-08-13 Thread Santiago Del Valle
We got this email After September 30, HTTP(S) Load Balancers will convert HTTP/1.1 header names to lowercase in the request and response directions; header values will not be affected. As header names are case-insensitive, this change will not affect clients and servers that follow the

[google-appengine] Cloud dataflow python3 job not solving dependencies

2019-09-03 Thread Santiago Del Valle
I have a simple apache beam project using python 3 to transform some data and write to big query, it uses a package called texstat, if I run locally everything works, but when I run on dataflow I get the following error: NameError: name 'textstat' is not defined [while running

[google-appengine] Cloud dataflow python3 job not solving dependencies

2019-09-03 Thread Santiago Del Valle
I have a simple apache beam project using python 3 to transform some data and write to big query, it uses a package called texstat, if I run locally everything works, but when I run on dataflow I get the following error: NameError: name 'textstat' is not defined [while running