def update_cache(): return Location.get_clustered_locations(Flight.takeoff_location_wkt, filter=(Flight.pilot == self.user))
def get_takeoff_locations(self): return Location.get_clustered_locations(Flight.takeoff_location_wkt, filter=(Flight.pilot == self.user))