Skip to content

API Reference parrot.outputs.a2ui.catalog.parrot.report

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.outputs.a2ui.catalog.parrot.report

View source

A2UI Report composite catalog component (Module 5, FEAT-470 TASK-2539).

Report is a narrative, section-structured document: title/metadata, an ordered list of sections (heading + rich text + optional embedded catalog components + tables), and an optional summary. Vocabulary is inspired by the legacy TemplateReportRenderer (dict/dataclass context flattened into a narrative template) — inspiration only, no code reuse. Display-only (requires_actions=False).

Nested catalog children are lowered through the registry (delegation), keeping the composite lowering deterministic. Multiple sections lower to Tabs (one tab per section); a single section lowers to a plain Column.

Alias BasicNode

Re-exported from parrot.outputs.a2ui.catalog.base.BasicNode.

Alias BasicTree

Re-exported from parrot.outputs.a2ui.catalog.base.BasicTree.

Alias CatalogValidationError

Re-exported from parrot.outputs.a2ui.catalog.base.CatalogValidationError.

Alias Component

Re-exported from parrot.outputs.a2ui.models.Component.

Attribute REPORT_INSTRUCTIONS

Attribute REPORT_SCHEMA

Type: dict[str, Any]

Class ReportComponent

The Report composite catalog component (display-only).

Method ReportComponent.lower

Lower a Report to a Basic Catalog Card tree.

lower(component: Component, data_model: dict[str, Any]) -> BasicTree

Parameter Type Default Description
component Component
data_model dict[str, Any]

Returns: BasicTree

Alias TabSpec

Re-exported from parrot.outputs.a2ui.catalog.base.TabSpec.

Alias get_component

Re-exported from parrot.outputs.a2ui.catalog.get_component.

Alias register_component

Re-exported from parrot.outputs.a2ui.catalog.register_component.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally