Skip to content

[NA] Fix DeclareEnumLaunchArgument for string enums#199

Merged
mhidalgo-rai merged 1 commit into
mainfrom
mhidalgo-rai/fix-declare-str-enum-arg
Mar 30, 2026
Merged

[NA] Fix DeclareEnumLaunchArgument for string enums#199
mhidalgo-rai merged 1 commit into
mainfrom
mhidalgo-rai/fix-declare-str-enum-arg

Conversation

@mhidalgo-rai
Copy link
Copy Markdown
Collaborator

Proposed changes

Precisely what the title says. When using an enum type that is also a str, the wrong conditional was getting picked up first.

Checklist

  • Lint and unit tests pass locally
  • I have added tests that prove my changes are effective
  • I have added necessary documentation to communicate the changes

Additional comments

Interestingly enough, there was already a test for this. That is how I caught this (see #198). Not sure how this didn't come up before.

Signed-off-by: Michel Hidalgo <mhidalgo@theaiinstitute.com>
Copy link
Copy Markdown
Contributor

@khughes-bdai khughes-bdai left a comment

Choose a reason for hiding this comment

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

LGTM!

@mhidalgo-rai
Copy link
Copy Markdown
Collaborator Author

Hmm, I suspect we need #198 in. CI's crashing hard.

@mhidalgo-rai mhidalgo-rai merged commit 771f6ab into main Mar 30, 2026
5 of 7 checks passed
@mhidalgo-rai mhidalgo-rai deleted the mhidalgo-rai/fix-declare-str-enum-arg branch March 30, 2026 17:41
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