morpheus.utils.control_message_utils.CMDefaultFailureContextManager

(Latest Version)
class CMDefaultFailureContextManager(control_message, raise_on_failure=False)[source]

Bases: object

Default Context manager for handling ControlMessage failures.

Parameters
control_message

The ControlMessage to handle.

raise_on_failure

Whether to raise an exception on failure, by default False.

Previous morpheus.utils.control_message_utils
Next morpheus.utils.cudf_subword_helper
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.