Skip to content

Convert Jinja2 replace() filter syntax to Tera named arguments#8

Merged
jeffreyaven merged 1 commit intomainfrom
claude/rust-stackql-deploy-port-xyr7K
Feb 12, 2026
Merged

Convert Jinja2 replace() filter syntax to Tera named arguments#8
jeffreyaven merged 1 commit intomainfrom
claude/rust-stackql-deploy-port-xyr7K

Conversation

@jeffreyaven
Copy link
Contributor

Jinja2 uses positional args: replace('-', '')
Tera uses named args: replace(from="-", to="
")

Added conversion in preprocess_jinja2_compat() to handle this automatically for IQL templates.

https://claude.ai/code/session_01ShAyjRLWBYC3tPsusCxggv

Jinja2 uses positional args: replace('-', '_')
Tera uses named args: replace(from="-", to="_")

Added conversion in preprocess_jinja2_compat() to handle this
automatically for IQL templates.

https://claude.ai/code/session_01ShAyjRLWBYC3tPsusCxggv
@jeffreyaven jeffreyaven merged commit 7202202 into main Feb 12, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments