Skip to content

API Reference parrot.knowledge.wiki.schema.ids

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

parrot.knowledge.wiki.schema.ids

View source

Kind-first id grammar for the schema plane (FEAT-600 M1).

Attribute KINDS

Type: tuple[str, ...]

Alias SchemaSourceConfig

Re-exported from parrot.knowledge.wiki.schema.models.SchemaSourceConfig.

Function normalize_ref

Normalize a table reference without guessing an ambiguous origin.

normalize_ref(ref: str, *, sources: dict[str, SchemaSourceConfig] | None = None) -> str | list[str]

Parameter Type Default Description
ref str
sources dict[str, SchemaSourceConfig] | None None

Returns: str | list[str]

Function parse_table_id

Return (origin, schema, table) for a valid table concept id.

parse_table_id(concept_id: str) -> tuple[str, str, str]

Parameter Type Default Description
concept_id str

Returns: tuple[str, str, str]

Raises:

  • ValueError — If the id is malformed or has another kind.

Function schema_concept_id

Return schema:<origin>/<schema>.

schema_concept_id(origin: str, schema: str) -> str

Parameter Type Default Description
origin str
schema str

Returns: str

Function source_concept_id

Return source:<origin>.

source_concept_id(origin: str) -> str

Parameter Type Default Description
origin str

Returns: str

Function table_concept_id

Return a table concept id, preserving dialect case.

table_concept_id(origin: str, schema: str, table: str) -> str

Parameter Type Default Description
origin str
schema str
table str

Returns: 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