Skip to content

Commit

Permalink
chores: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjaySinghRajpoot committed Jun 26, 2022
1 parent edde8a1 commit fced1ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions local/rest_api_flint.example/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
def home():
return "FLINT.Example API"


@app.route("/health-flint-example", methods=["GET"])
def health():
"""
Expand All @@ -50,6 +51,7 @@ def health():
description: A status check for FLINT example
"""
return "FLINT.Example is active."


@app.route("/spec")
def spec():
Expand Down
2 changes: 2 additions & 0 deletions local/rest_api_gcbm/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
app.register_blueprint(SWAGGERUI_BLUEPRINT, url_prefix=SWAGGER_URL)
### end swagger specific ###


@app.route("/health-gcbm", methods=["GET"])
def health():
"""
Expand All @@ -73,6 +74,7 @@ def health():
"""
return "GCBM is active."


@app.route("/spec")
def spec():
swag = swagger(app)
Expand Down

0 comments on commit fced1ea

Please sign in to comment.