def get(self,mAttr): EC = Crystal.query( Crystal.name == 'EdenCrystal') EC = EC.get() EC.sysactsraw = 'mine,kick' EC.put() if mAttr == 'actions': self.response.out.write(ops.sonify(EC.sysacts))
def get(self,target): if target == 'self' or target == '': tMeta = ops.loadmeta() else: tMeta = ops.KIDtoMedo(target) q = [] for crystal in Crystal.query(Crystal.cowner == 'Meta'+str(tMeta.metaid)).fetch(50): q.append(crystal) for blueprint in Blueprint.query(Blueprint.cowner == 'Meta'+str(tMeta.metaid)).fetch(50): q.append(blueprint) for item in Item.query(Item.cowner == 'Meta'+str(tMeta.metaid)).fetch(50): q.append(item) cinv = q invli = [] for inv in cinv: inv = inv.to_dict() invli.append(inv) self.response.out.write(ops.sonify(invli))
def get(self): cmeta = ops.loadmeta() puis = ops.fetchPopUpItems('Meta',cmeta.metaid) self.response.out.write(ops.sonify(puis))
def get(self): cmeta = ops.loadmeta() localitems = ops.fetchLocalItems('Meta',cmeta.metaid) self.response.out.write(ops.sonify(localitems))
def get(self): cmeta = ops.loadmeta() token = channel.create_channel(str(cmeta.metaid),1440) self.response.out.write(ops.sonify(token))