from flask import Blueprint from backend.app.infrastructure.persistence.connection import database from backend.app.application import implants from backend.app.api.session import owner_session from backend.app.api.context import ledger bp = Blueprint("registry", __name__, url_prefix="/home/api") @bp.get("/registry") @owner_session def registry(): return implants.registry(database(), ledger())