Skip to content

Commit

Permalink
add get version endpoint (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman authored Oct 15, 2024
1 parent c26b9f5 commit bd4e152
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions materializationengine/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ def create_app(config_name: str = None):
def versions():
return jsonify([2, 3]), 200

@apibp.route("/materialize/version")
def version():
return __version__, 200

db.init_app(app)
ma.init_app(app)

Expand Down

0 comments on commit bd4e152

Please sign in to comment.