Skip to content

API Reference parrot_formdesigner.tools.services.registry

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

parrot_formdesigner.tools.services.registry

View source

Form-service registry — name → AbstractFormService subclass.

Mirrors parrot_formdesigner/controls/registry.py:67-113. Module-level dict preserves registration order for stable iteration.

Alias AbstractFormService

Re-exported from parrot_formdesigner.tools.services.abstract.AbstractFormService.

Function get_form_service

Resolve a registered form-service class by name.

get_form_service(name: str) -> type[AbstractFormService]

Parameter Type Default Description
name str The service name to look up.

Returns: type[AbstractFormService] — The registered AbstractFormService subclass.

Raises:

  • KeyError — if no service is registered under name.

Function list_form_services

Return registered service names in registration order.

list_form_services() -> list[str]

Returns: list[str] — List of registered service name strings.

Attribute logger

Function register_form_service

Register (or overwrite) a form-service class under name.

Idempotent: re-registering the same name overwrites and logs a warning.

register_form_service(name: str, service_cls: type[AbstractFormService]) -> None

Parameter Type Default Description
name str Identifier exposed to DatabaseFormInput.service.
service_cls type[AbstractFormService] AbstractFormService subclass.

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