def get_largest_flights(self):
     '''
     Returns a query with all flights by the user
     as pilot ordered by distance
     '''
     from skylines.model.flight import Flight
     return Flight.get_largest().filter_by(pilot=self)
Exemple #2
0
 def get_largest_flights(self):
     """
     Returns a query with all flights by the user
     as pilot ordered by distance
     """
     from skylines.model.flight import Flight
     return Flight.get_largest().filter(Flight.pilot == self)
Exemple #3
0
 def get_largest_flights(self):
     """
     Returns a query with all flights by the user
     as pilot ordered by distance
     """
     from skylines.model.flight import Flight
     return Flight.get_largest().filter(Flight.pilot == self)