I am working on an application which is based on GAE with python 2.7.13. What I want to do is that to make a bunch of async API calls inside a handler. Something like that:
class MakeRequests(webapp2.RequestHandler): def post(self, *v, **kv): *do an async api call#1* *do an async api call#2* *do an async api call#3* *wait for response from all of above api requests* *make response in a way like if call#1 failes, make it's expected* *attributes in response as None, if call#2 succeeds add it's* *attributes in response etc. This is just an example.* For that purpose, I have tried libraries like asyncio, grequests, requests and simple-requests, they don't seems to be working because either they are not compatible with with GAE or with python 2.7.13. Can anyone help me here?