app.py
def stations():
    """Return a list of stations."""
    station_results = session.query(Station.station, Station.name).group_by(Station.station).all()

    station = list(np.ravel(station_results))
    return jsonify(station)
Return a list of stations.
Return a list of stations.
Return a list of stations .
def stations():
    station_results = session.query(Station.station, Station.name).group_by(Station.station).all()
    station = list(np.ravel(station_results))
    return jsonify(station)
def stations ( ) : station_results = session . query ( Station . station , Station . name ) . group_by ( Station . station ) . all ( ) station = list ( np . ravel ( station_results ) ) return jsonify ( station )
Return a list of stations.
Return a list of stations .
"""Return a list of stations."""