Signature
Parameters
Source resolution
A scheme inname always wins over source=:
Return types
Missing backends raise
CirronDependencyError
with an install hint.
match= shapes
map= shapes
Size guardrails
Before downloading anything,ci.load() sums the matched bytes and
applies the tier policy configured on the Cirron instance:
SQL sources opt out because they can’t estimate size before executing.
Use
LIMIT to bound result size.
SQL credential resolution
First match wins:- URI inline:
postgres://user:pass@host/db - Platform integrations:
GET /api/integrations/resolvewith a scoped, short-lived token (requires a configured Cirron integration) ci.secret("<scheme>-<host>"): platform-mounted secret- Driver env var:
PGPASSWORD/MYSQL_PWD/SNOWFLAKE_PASSWORD/DATABRICKS_TOKEN
Examples
Errors
Not yet shipped
search= and top_k= (semantic search over a platform vector index)
accept input for API stability but raise NotImplementedError until
the backend ships.
Related
Data loading guide
Narrative walk-through with more examples.
Errors
Exception hierarchy for the data loader.