Exemplo n.º 1
0
def renderViewPickle(requestOptions, data):
    response = HttpResponse(content_type='application/pickle')
    seriesInfo = [series.getInfo() for series in data]
    pickle.dump(seriesInfo, response, protocol=-1)
    return response
Exemplo n.º 2
0
def renderViewPickle(requestOptions, data):
  response = HttpResponse(content_type='application/pickle')
  seriesInfo = [series.getInfo() for series in data]
  pickle.dump(seriesInfo, response, protocol=-1)
  return response