Example #1
0
 def get(self):
     available_destinations = [
         q for q in destinations.values() if not q.deprecated
     ]
     return [q.to_dict() for q in available_destinations]
Example #2
0
 def get(self):
     available_destinations = filter(lambda q: not q.deprecated,
                                     destinations.values())
     return [q.to_dict() for q in available_destinations]
Example #3
0
 def get(self):
     return [q.to_dict() for q in destinations.values()]
Example #4
0
 def get(self):
     return [q.to_dict() for q in destinations.values()]