Exemplo n.º 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]
Exemplo n.º 2
0
 def get(self):
     available_destinations = filter(lambda q: not q.deprecated,
                                     destinations.values())
     return [q.to_dict() for q in available_destinations]
Exemplo n.º 3
0
 def get(self):
     return [q.to_dict() for q in destinations.values()]
Exemplo n.º 4
0
 def get(self):
     return [q.to_dict() for q in destinations.values()]