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

fix: Preserve unknown API enum values by jonahe · Pull Request #301 · splunk/splunk-ao-python · GitHub

Repository navigation

fix: Preserve unknown API enum values - #301

Open
jonahe wants to merge 2 commits into
splunk:mainfrom
jonahe:codex/tolerate-unknown-api-enums
Open

jonahe wants to merge 2 commits into
splunk:mainfrom
jonahe:codex/tolerate-unknown-api-enums

Conversation

jonahe commented Oct 30, 2026

Copy link
Copy Markdown

New server enum values can make successful API responses fail during
parsing, including project lookups with a capability_based creator role.
Preserve known enum members and carry unfamiliar values as raw strings
or integers so reading and serializing newer responses stays compatible.

Generate explicit enum-or-primitive field types while retaining
constants and explicitly closed enums. Keep collaborator roles and
generic providers usable, and report unsupported evaluator types instead
of guessing their implementation. No API changes are required.

github-actions Bot commented Oct 30, 2026 •
edited
Loading

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

jonahe commented Oct 30, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

jonahe commented Oct 30, 2026

Copy link
Copy Markdown
Author

recheck

New server enum values can break parsing of successful API responses.
Preserve known enum members and retain unfamiliar strings and integers
without changing constants or discriminator fields. Update generation
and SDK consumers to handle these values explicitly.
jonahe force-pushed the codex/tolerate-unknown-api-enums branch from 2cbc894 to 0898dbb Compare November 5, 2026 19:15

This branch has not been deployed

No deployments
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.

1 participant


Back | FazBrowse Home | New Git URL