def get_vehicles(self): query = Vehicle.all() vehicles = query.run() return vehicles
def get_vehicle_by_unit(self, unit): q = Vehicle.all() return q.filter('unit =', unit)