- Added all seven issued service trees without omissions. - Preserved the supplied runtime configuration, binaries, and assets.
15 lines
405 B
Python
Executable File
15 lines
405 B
Python
Executable File
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())
|