app

Page actions AI-ready formats and sharing
Open LLM text
Share with AI
Ask Claude Ask ChatGPT Ask Gemini Ask Copilot

Chirp application facade.

Chirp application facade.

app

Name Type Default Description
type
qualified_name
element_type
description
source_file
line_number
is_autodoc
autodoc_element
_autodoc_template
_autodoc_url_path
_autodoc_page_type
title
doc_content_hash

Symbols on this page

_build_contract_schema
function
def _build_contract_schema(migrations_dir: str | None) -> SchemaSnapshot | None

Build the declared schema snapshot for thedatashape contract.

ReturnsNonewhen no migrations directory is configured (HTML-only / db-less apps) so the contract is a silent no-op. The static parser reads only the declared migration SQL -- no live database connection is opened.

Parameters

Name Type Default Description
migrations_dir str | None
App
class

The chirp application.

Mutable during setup (route registration, middleware, filters). Frozen at runtime whenapp.run() or __call__()is first invoked.

View source · /home/runner/work/chirp/chirp/site/../src/chirp/app/__init__.py:1