Skip to content

arrowbricks v6.1.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 06:58
· 6 commits to main since this release
5243cf6
  • Accept PEP 750 t-strings (Python 3.14+) as SQL on every method that takes it:
    each interpolation is bound as a typed named parameter, {name:i} quotes an
    identifier, nested t-strings compose, and explicit parameters still merge in.
    sqlglot expressions are accepted too (arrowbricks[sqlglot] extra).
  • Type sql as LiteralString | Template | <sqlglot expression> (arrowbricks.Sql), so type checkers flag
    SQL built from runtime strings. Typing only -- a str still works at runtime;
    arrowbricks.unsafe_sql(text) marks SQL you vouch for (#21).