示例#1
0
 def update_cache():
     return Location.get_clustered_locations(Flight.takeoff_location_wkt,
                                             filter=(Flight.pilot == self.user))
示例#2
0
 def get_takeoff_locations(self):
     return Location.get_clustered_locations(Flight.takeoff_location_wkt,
                                             filter=(Flight.pilot == self.user))