Expand description
Data-source schema cache backed by unified shape.lock artifacts.
This replaces the legacy shape.database.lock.json sidecar file and keeps
external schema state in the shared lockfile model.
Structs§
- Data
Source Schema Cache - Top-level cache model for external data-source schemas.
- Entity
Schema - Schema for a single data-source entity.
- Field
Schema - Schema for a single field.
- Schema
Cache Diagnostic - Diagnostic emitted while loading schema artifacts from
shape.lock. - Source
Schema - Schema for a single data-source URI.
Constants§
- CACHE_
FILENAME - Top-level cache file path. Kept for call-site compatibility.
Functions§
- default_
cache_ path - Resolve the default
shape.lockpath from the current working directory. - load_
cached_ source_ for_ uri - Load one cached source schema by URI.
- load_
cached_ source_ for_ uri_ with_ diagnostics - Load one cached source schema by URI and keep non-fatal diagnostics for stale/invalid artifacts that were ignored.
- load_
cached_ type_ schemas_ for_ uri_ prefixes - Load cached schemas and convert matching sources into runtime
TypeSchemas. - load_
cached_ type_ schemas_ for_ uri_ prefixes_ with_ diagnostics - Like
load_cached_type_schemas_for_uri_prefixesbut also returns non-fatal diagnostics for invalid/stale artifacts that were ignored. - set_
default_ cache_ path - Override the default lock/cache path used by extension-side schema cache helpers during this process.
- source_
schema_ from_ nb - Decode a
SourceSchemafrom a typed-object ValueWord payload. - source_
schema_ from_ wire - Decode a
SourceSchemafrom a shape-wire object payload. - source_
schema_ to_ nb - Convert a
SourceSchemainto a typed-object ValueWord payload.