I want to stream a response using Django. In order to do so, I have a view like this:
def flights(request, query): req_obj = Flights.RequestObject(query)
Have you tried something like
req_obj.update(req_obj.make_response())
which will update your initial dict with the values newly yielded from your method?