def get(self): data = {} data["pet_types"] = PetType.get() data["pet_categories"] = PetCategory.get() self.SendJson(data)