-
Notifications
You must be signed in to change notification settings - Fork 130
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
Fix CLI parsing of C++ enum values #676
Merged
8 commits merged into
nv-morpheus:branch-23.01
from
dagardner-nv:david-enum-cli-fix-675
Feb 13, 2023
Merged
Fix CLI parsing of C++ enum values #676
8 commits merged into
nv-morpheus:branch-23.01
from
dagardner-nv:david-enum-cli-fix-675
Feb 13, 2023
Conversation
This file contains 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
C++ enums exposed by pybind11 are not subclasses of enum.Enum, but instead are enum-work-alikes. In additon to this the pybind11 enum keys are strings.
dagardner-nv
added
bug
Something isn't working
non-breaking
Non-breaking change
2 - In Progress
labels
Feb 7, 2023
mdemoret-nv
approved these changes
Feb 13, 2023
/merge |
ghost
pushed a commit
that referenced
this pull request
Feb 14, 2023
* Add new `log_level` constructor argument to `MonitorStage` * `MonitorStage` only adds itself to the MRC pipeline if the `morpheus.stages.general.monitor_stage` logger is configured at or below `log_level` Allows pipeline authors to control the inclusion of progress output via the Morpheus logger. By default monitor stage output will only be present for `INFO` level and below. Marking this as a breaking change for pipelines authors who expect to see monitor stage output when configuring Morpheus with `WARNING` level and higher. Requires #676 to be merged, and forward-merged into 23.03 first. fixes #553 Authors: - David Gardner (https://github.com/dagardner-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: #659
jjacobelli
pushed a commit
to jjacobelli/Morpheus
that referenced
this pull request
Mar 7, 2023
C++ enums exposed to Python via pybind11 are not subclasses of `enum.Enum` causing them to not be parsed properly by the CLI. Hot-patching this into 23.01 fixes nv-morpheus#675 Authors: - David Gardner (https://github.com/dagardner-nv) - Michael Demoret (https://github.com/mdemoret-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: nv-morpheus#676
jjacobelli
pushed a commit
to jjacobelli/Morpheus
that referenced
this pull request
Mar 7, 2023
* Add new `log_level` constructor argument to `MonitorStage` * `MonitorStage` only adds itself to the MRC pipeline if the `morpheus.stages.general.monitor_stage` logger is configured at or below `log_level` Allows pipeline authors to control the inclusion of progress output via the Morpheus logger. By default monitor stage output will only be present for `INFO` level and below. Marking this as a breaking change for pipelines authors who expect to see monitor stage output when configuring Morpheus with `WARNING` level and higher. Requires nv-morpheus#676 to be merged, and forward-merged into 23.03 first. fixes nv-morpheus#553 Authors: - David Gardner (https://github.com/dagardner-nv) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: nv-morpheus#659
This pull request was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
C++ enums exposed to Python via pybind11 are not subclasses of
enum.Enum
causing them to not be parsed properly by the CLI.Hot-patching this into 23.01
fixes #675