Exemple #1
0
def get_all_users():
    """
    Get all users available in database.

    :return: Flask `Response` object with added JSON representation of all `User`
    objects available and `Content-Type: application/json` HTTP header.
    """
    return jsonify(User.to_collection_dict())