Skip to content

Simplify Row.__init__#1378

Merged
quis merged 1 commit into
mainfrom
simplify-row-init
Jun 19, 2026
Merged

Simplify Row.__init__#1378
quis merged 1 commit into
mainfrom
simplify-row-init

Conversation

@quis

@quis quis commented Jun 18, 2026

Copy link
Copy Markdown
Member

By making the conditional on validate_row the code itself explains what the comment is saying.

This also means the type of template and error_fn will always be Template and function respectively, rather than a messy union with None.

By making the conditional on `validate_row` the code itself explains
what the comment is saying.

This also means the type of `template` and `error_fn` will always be
`Template` and `function` respectively, rather than a messy union with
`None`.
@quis quis merged commit bc05f72 into main Jun 19, 2026
6 checks passed
@quis quis deleted the simplify-row-init branch June 19, 2026 12:25
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