NVIDIA Morpheus (24.10.01)
(Latest Version)

Function morpheus::utilities::show_warning_message

void morpheus::utilities::show_warning_message(const std::string &deprecation_message, PyObject *category = nullptr, ssize_t stack_level = 1)

Shows a python warning using the warnings.warn module. These warnings can be suppressed and work different than logger.warn()

Parameters
  • deprecation_message – The message to show

  • category – A Python warning message type such as PyExc_DeprecationWarning

  • stack_level – If the warning should appear earlier up in the stack, set this to >1

Previous Function morpheus::utilities::cast_from_pyobject_impl
Next Template Function morpheus::write_df_to_file(const TableInfo&, const std::string&, FileTypes, ArgsT&&…)
© Copyright 2024, NVIDIA. Last updated on Dec 3, 2024.