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()

  • 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::table_to_parquet
Next Template Function morpheus::write_df_to_file(const TableInfo&, const std::string&, FileTypes, ArgsT&&…)
© Copyright 2024, NVIDIA. Last updated on Apr 11, 2024.