Ejemplo n.º 1
0
def version():
    dictver = {
        'version': dictionary_version(),
        'commit': dictionary_commit(),
    }
    base = {
        'version': VERSION,
        'commit': COMMIT,
        'dictionary': dictver,
    }

    return jsonify(base), 200
Ejemplo n.º 2
0
def version():
    """
    Returns the version of Sheepdog
    ---
    tags:
      - system
    responses:
      200:
        description: successful operation
    """
    dictver = {"version": dictionary_version(), "commit": dictionary_commit()}
    base = {"version": VERSION, "commit": COMMIT, "dictionary": dictver}

    return jsonify(base), 200
Ejemplo n.º 3
0
def version():
    dictver = {"version": dictionary_version(), "commit": dictionary_commit()}
    base = {"version": VERSION, "commit": COMMIT, "dictionary": dictver}

    return jsonify(base), 200