from flask import Blueprint
from domain.TestRepository import TestRepository


def get_blueprint() -> Blueprint:
    bp = Blueprint("index", __name__)

    @bp.route("/")
    def index(repo: TestRepository):  # pyright: ignore[reportUnusedFunction]
        return f"<html><body>aaa{repo.test()}</body></html>"

    return bp