Skip to content

chore: introduce *Args types for new() methods#10009

Merged
bolinfest merged 1 commit into
mainfrom
pr10009
Jan 27, 2026
Merged

chore: introduce *Args types for new() methods#10009
bolinfest merged 1 commit into
mainfrom
pr10009

Conversation

@bolinfest

@bolinfest bolinfest commented Jan 27, 2026

Copy link
Copy Markdown
Collaborator

Constructors with long param lists can be hard to reason about when a number of the args are None, in practice. Introducing a struct to use as the args type helps make things more self-documenting.

@bolinfest bolinfest requested a review from viyatb-oai January 27, 2026 18:51

@viyatb-oai viyatb-oai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

much better, thank you!

@bolinfest bolinfest enabled auto-merge (squash) January 27, 2026 19:01
@bolinfest bolinfest merged commit 700a29e into main Jan 27, 2026
55 of 59 checks passed
@bolinfest bolinfest deleted the pr10009 branch January 27, 2026 19:15
@github-actions github-actions Bot locked and limited conversation to collaborators Jan 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants