Skip to content

API Reference parrot_formdesigner.services.sinks

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

parrot_formdesigner.services.sinks

View source

Submission sink family — destinations a FormSchema may declare.

This package is the single owner of the sink dispatch table: the four sink backends (postgres_table.py, asyncdb_store.py, csv_file.py, gsheet.py) each create their own module and none registers itself, so they share no file. SinkFactory (factory.py) is the single place that builds and caches sink instances, and enforces coordinate immutability.

Dispatch follows the string-keyed, lazy-import pattern established at packages/ai-parrot/src/parrot/stores/__init__.py:6 — an uninstalled optional extra ([gsheet]) never breaks importing the other three sinks.

Alias AbstractSubmissionSink

Re-exported from parrot_formdesigner.services.sinks.base.AbstractSubmissionSink.

Attribute SUPPORTED_SINKS

Type: dict[str, str]

Alias SinkError

Re-exported from parrot_formdesigner.services.sinks.base.SinkError.

Alias SinkFactory

Re-exported from parrot_formdesigner.services.sinks.factory.SinkFactory.

Alias SinkNotCapableError

Re-exported from parrot_formdesigner.services.sinks.base.SinkNotCapableError.

Alias SinkTargetMismatchError

Re-exported from parrot_formdesigner.services.sinks.base.SinkTargetMismatchError.

Alias SinkUnavailableError

Re-exported from parrot_formdesigner.services.sinks.base.SinkUnavailableError.

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