from . import app @app.route('/health') def health_v1(): return 'healthy', 200 @app.errorhandler(500) def handle_500(error): return str(error), 500