Skip to content

[Rebase after #142]: Use default CTE name when name is None - #150

Draft
terencehonles wants to merge 3 commits into
dimagi:mainfrom
terencehonles:use-default-cte-name-on-None
Draft

terencehonles wants to merge 3 commits into
dimagi:mainfrom
terencehonles:use-default-cte-name-on-None

Conversation

@terencehonles

Copy link
Copy Markdown
Contributor

This change moves the default CTE name ("cte") into the initializer so callers can use None .

Follow up to #142

This change allows generating both `MATERIALIZED` and `NOT MATERIALIZED`
queries, deprecates name & materialized as positional arguments, moves
the default CTE name ("cte") into the initializer so callers can use
`None` and updates pytest to error on deprecation warnings.
@terencehonles
terencehonles force-pushed the use-default-cte-name-on-None branch from 594e2ba to b8ff8bd Compare October 6, 2026 15:47

This branch has not been deployed

No deployments
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.

1 participant