FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Set kw_only=True in all dataclasses by mateusz834 · Pull Request #758 · splunk/splunk-sdk-python · GitHub

Repository navigation

Set kw_only=True in all dataclasses - #758

Merged
mateusz834 merged 1 commit into
developfrom
dev/MP/kw-only
May 5, 2026
Merged

mateusz834 merged 1 commit into
developfrom
dev/MP/kw-only

Conversation

mateusz834 commented Apr 30, 2026 •
edited
Loading

Copy link
Copy Markdown
Member

Make all public dataclasses keyword-only using kw_only=True to allow flexible field ordering. This enables adding new fields or reordering existing ones without breaking positional initialization. This is important in terms of backwards compatibility of the SDK.

mateusz834 force-pushed the dev/MP/kw-only branch 4 times, most recently from f0c226f to d256220 Compare April 30, 2026 10:35
mateusz834 marked this pull request as ready for review May 4, 2026 10:59
mateusz834 merged commit 7b2d6a2 into develop May 5, 2026
5 of 7 checks passed
mateusz834 deleted the dev/MP/kw-only branch May 5, 2026 06:59
mateusz834 added a commit that referenced this pull request May 5, 2026
I have not rebased #755, but after merge it semantically conflicted with
#758.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL