Skip to content
Advertisement

Tag: google-app-engine

How to link static folder in Google app engine with a storage bucket

Created a new python Flask app-engine python project and want to use the static files from Google cloud storage. I am using this yaml.file: Where in the app engine do you link to storage https://storage.googleapis.com/<your-bucket-name>/static/ with /static in the app-engine? It is not clear from the documentation. Answer You can’t use file stored on Google Cloud Storage as static folder

TypeError: ‘NoneType’ object is not subscriptable on GAE instance assigning JSON to python variable

I’m getting an error TypeError: ‘NoneType’ object is not subscriptable when assigning JSON to a python variable like this sheet_id = data[“sheetID”]. It only happens on my Google App Engine instance. I don’t get it when running my Flask app locally and sending POST requests to the app with Postman. Here’s the code snippet The strange thing is that the

Calling Firestore Database from another Cloud Project shows “Permission Error”

After reading every piece of question, documentation available online, we couldn’t find a solution, so posting a question here. Our Setup : Project FB: Used only for Firestore in Dev mode. We want to access data from this project in our dev backend server, hosted on a different cloud project. Project GCP: A GCP Project with app deployed in GAE

PyCharm: Unreachable Code?

PyCharm is showing me that some code is unreachable within a method before the return statement is reached. I cannot help but wonder how is that even remotely possible? self.fail simply calls self.response.write(things). Update: Yeah, when I surround it with a try/catch clause, the issue is resolved… Strange. (Note that the method doesn’t always raise an exception. Answer I actually

A python web framework for google app engine

(Please note that this question and some of the answers are old) I want to use an existing python framework to develop an application on google appengine. It should be quick and easy to start and support test driven development practices in an easy way. Can you recommend a stack? What about django? Additional Information: There are several django ports,

Advertisement