Skip to content

API Reference parrot.flows.thales.nodes.registry

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

parrot.flows.thales.nodes.registry

View source

Idempotent NODE_REGISTRY registration for Thales node types (FEAT-425).

Verified during TASK-2231: AgentsFlow's checkpoint=True (FEAT-399) unconditionally calls to_definition() as a fail-fast export check (_ensure_checkpointer), and that export requires every node's class to resolve via the global NODE_REGISTRY — regardless of whether the flow is assembled declaratively (from_definition) or programmatically (add_node/add_edge, what Thales actually uses). This directly mirrors parrot.flows.dev_loop.nodes.base.register_dev_loop_node (FEAT-250), which exists for the exact same reason.

register_node() (the engine's own decorator) raises on a duplicate registration; this wrapper makes registration a no-op when name is already registered, so re-imports of parrot.flows.thales never raise.

Alias NODE_REGISTRY

Re-exported from parrot.bots.flows.flow.flow.NODE_REGISTRY.

Alias Node

Re-exported from parrot.bots.flows.core.node.Node.

Attribute NodeT

Alias register_node

Re-exported from parrot.bots.flows.flow.flow.register_node.

Function register_thales_node

Idempotent @register_node for the Thales node types (FEAT-425).

register_thales_node(name: str)

Parameter Type Default Description
name str

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