Files
nvi/api/composer/__init__.py

27 lines
594 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""Recon-driven SQL composer.
The LLM picks a *shape* (which metric, which dimensions, which filters);
the composer walks recon and emits the SQL deterministically. Columntable
binding, joins, and quoting are graph traversals, not LLM guesses.
See `def/schema-as-constraint.md` for the architectural argument.
"""
from api.composer.types import (
ComposeResult,
Filter,
OrderBy,
Pick,
PickValidationError,
)
from api.composer.compose import compose
__all__ = [
"compose",
"ComposeResult",
"Filter",
"OrderBy",
"Pick",
"PickValidationError",
]