Esempio n. 1
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_by(pilot=self)
Esempio n. 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)
Esempio n. 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)