Exemplo n.º 1
0
 def put(self):
     logging.info('put Population received')
     data_string = self.request.body
     logging.info(data_string)
     decoded = json.loads(data_string)
     
     pop = Pop(key_name='curr')
     pop.pop  = json.dumps(decoded['pop'])
     pop.vals = json.dumps(decoded['vals'])
     pop.put()