def get(self): self.write({'logs':getValue('path:'+self.request.path.replace('/logs',''))})
def get(self): keys = getKeys() logs = [{'endpoint':k[6:],'logs':getValue(k)} for k in keys] # ohhh how I missed list comprehensions. self.write({'logset':logs})