Source code for plynx.web.health

"""Health check"""

from plynx.web.common import app, handle_errors


@app.route('/', methods=['GET'])
@handle_errors
[docs]def get_health_base(): """Health check""" return 'Healthy'
@app.route('/health', methods=['GET']) @handle_errors
[docs]def get_health(): """Health check""" return 'OK'