Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CASMCMS-9161: Correct type hint, change Enum to IntEnum to allow inequalities #380

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

mharding-hpe
Copy link
Contributor

@mharding-hpe mharding-hpe commented Oct 10, 2024

This PR makes 3 changes:

  1. Fixes the type hint of the validate_boot_sets function. The elements of the tuple were accidentally reversed.
  2. Changes the type of the BootSetStatus class from Enum to IntEnum. This gives the ability to perform inequalities between two BootSetStatus objects.
  3. Revert the changes made in 2.0.31 that removed an inequality between BootSetStatus objects; it was generating an exception when it was an Enum, but that is no longer an issue, so may as well restore the code to how it was before.

I tested this on mug.

@mharding-hpe mharding-hpe changed the base branch from develop to master October 10, 2024 15:32
@mharding-hpe mharding-hpe marked this pull request as ready for review October 10, 2024 15:32
@mharding-hpe mharding-hpe requested a review from a team as a code owner October 10, 2024 15:32
CHANGELOG.md Outdated Show resolved Hide resolved
@mharding-hpe mharding-hpe merged commit d14ef3b into master Oct 10, 2024
7 of 8 checks passed
@mharding-hpe mharding-hpe deleted the casmcms-9161 branch October 10, 2024 15:40
mharding-hpe added a commit that referenced this pull request Oct 10, 2024
…728574831

[chore] master -> develop from PR #380 (casmcms-9161)
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.

2 participants