12 lines
332 B
Python
12 lines
332 B
Python
"""app.healthcheck.blueprint
|
|
|
|
Module that deals with Blueprint-related stuff."""
|
|
from flask import Blueprint
|
|
from app.healthcheck import healthcheck
|
|
|
|
|
|
def create_blueprint():
|
|
"""Creates a Blueprint"""
|
|
blueprint = Blueprint('Health Check Blueprint', __name__)
|
|
blueprint.route('/')(healthcheck.route)
|
|
return blueprint
|