def get(self):
crash_keys = util.param('crash_keys', list)
if crash_keys:
crash_db_keys = [ndb.Key(urlsafe=k) for k in crash_keys]
crash_dbs = ndb.get_multi(crash_db_keys)
return helpers.make_response(crash_dbs, model.crash.FIELDS)
crash_dbs, crash_cursor = model.Crash.get_dbs()
return helpers.make_response(crash_dbs, model.Crash.FIELDS, crash_cursor)
评论列表
文章目录