Skip to content

explicit positional arguments in DSL generated classes#3233

Merged
miguelgrinberg merged 1 commit intoelastic:mainfrom
miguelgrinberg:dsl-positional-args
Dec 19, 2025
Merged

explicit positional arguments in DSL generated classes#3233
miguelgrinberg merged 1 commit intoelastic:mainfrom
miguelgrinberg:dsl-positional-args

Conversation

@miguelgrinberg
Copy link
Copy Markdown
Contributor

Fixes #3228

This change make positional arguments in generated DSL classes explicitly positional by adding a / to the argument list.

Copy link
Copy Markdown
Member

@pquentin pquentin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@miguelgrinberg miguelgrinberg marked this pull request as ready for review December 19, 2025 10:43
@miguelgrinberg miguelgrinberg merged commit e8f2d04 into elastic:main Dec 19, 2025
19 checks passed
@miguelgrinberg miguelgrinberg deleted the dsl-positional-args branch December 19, 2025 10:43
github-actions bot pushed a commit that referenced this pull request Dec 19, 2025
github-actions bot pushed a commit that referenced this pull request Dec 19, 2025
github-actions bot pushed a commit that referenced this pull request Dec 19, 2025
miguelgrinberg added a commit that referenced this pull request Dec 19, 2025
(cherry picked from commit e8f2d04)

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
miguelgrinberg added a commit that referenced this pull request Dec 19, 2025
(cherry picked from commit e8f2d04)

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
miguelgrinberg added a commit that referenced this pull request Dec 19, 2025
(cherry picked from commit e8f2d04)

Co-authored-by: Miguel Grinberg <miguel.grinberg@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider making proper use of / positional arguments

2 participants