Skip to content

API Reference parrot_formdesigner.services.metadata_sources

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

parrot_formdesigner.services.metadata_sources

View source

Built-in resolvers for FormMetadataField sources.

This module owns the dispatch table that maps a MetadataSource literal (e.g. "user_id", "locale") to an async resolver that extracts the corresponding value from the inbound aiohttp request, the in-flight FormSubmission record, and the parent FormSchema.

The resolvers deliberately stay tolerant of missing context (returning None rather than raising) so the enricher can apply the field's default substitution and required semantics uniformly.

Attribute BUILTIN_METADATA_SOURCES

Type: dict[str, BuiltinResolver]

Attribute BuiltinResolver

Alias FormMetadataField

Re-exported from parrot_formdesigner.core.schema.FormMetadataField.

Alias FormSchema

Re-exported from parrot_formdesigner.core.schema.FormSchema.

Alias FormSubmission

Re-exported from parrot_formdesigner.services.submissions.FormSubmission.

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