Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

raise on reserved placeholders #99

Merged
merged 4 commits into from
Oct 10, 2024
Merged

raise on reserved placeholders #99

merged 4 commits into from
Oct 10, 2024

Conversation

mathause
Copy link
Collaborator

"keys", "on_parse_error", and "_allow_empty" can (currently) not be used as "{placeholders}" because they are used as (keyword) arguments. This PR adds a check to raise an error if they are used.

@veni-vidi-vici-dormivi
Copy link
Collaborator

Clean!

@mathause mathause merged commit 0cded70 into main Oct 10, 2024
5 checks passed
@mathause mathause deleted the reserved_placeholders branch October 10, 2024 14:44
@veni-vidi-vici-dormivi
Copy link
Collaborator

Cool! 👍

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.

define reserved keywords?
2 participants