def get_boards(): data = { 'states': [{ "id": 1, "name": "New" }, { "id": 2, "name": "In progress" }, { "id": 3, "name": "Testing" }, { "id": 4, "name": "Done" }], 'boards': queries.get_boards(), 'cards': queries.get_cards() } return jsonify(data)
def get_boards(): boards = queries.get_boards(session['userId']) return jsonify(boards)
def get_boards(): return queries.get_boards()
def get_boards(): """ All the boards """ return queries.get_boards()
def get_boards(): selected_boards = queries.get_boards(request.form["username"]) return jsonify(selectedBoards=selected_boards)
def get_boards(): boards = queries.get_boards(session_id=session['id']) return jsonify(boards)