diff --git a/Model/flask_app.py b/Model/flask_app.py index e53164b..7190600 100644 --- a/Model/flask_app.py +++ b/Model/flask_app.py @@ -18,6 +18,7 @@ @auth.verify_password def verify_password(username, password): + """ Verify password for API Docs""" if username in users and check_password_hash(users.get(username), password): return username return None @@ -51,6 +52,7 @@ def verify_password(username, password): @ns.route('/') class HealthCheck(Resource): + """Server health check.""" @api.doc('health_check') def get(self): """Server health check.""" @@ -61,6 +63,7 @@ def get(self): @ns.route('/chat') class ChatBot(Resource): + """retrieve and rank api entry point""" @api.doc('chat_bot') @api.expect(model) def post(self):