def version(): dictver = { 'version': dictionary_version(), 'commit': dictionary_commit(), } base = { 'version': VERSION, 'commit': COMMIT, 'dictionary': dictver, } return jsonify(base), 200
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
def version(): dictver = {"version": dictionary_version(), "commit": dictionary_commit()} base = {"version": VERSION, "commit": COMMIT, "dictionary": dictver} return jsonify(base), 200