NVIDIA Morpheus (24.10.01)
(Latest Version)

morpheus.modules.write_to_file

To File Sink Module.

Functions

write_to_file(builder) Write all messages to a file.
write_to_file(builder)[source]

Write all messages to a file.

Parameters
buildermrc.Builder

mrc Builder object.

Notes

Configurable Parameters:
  • filename (str): Path to the output file; Example: output.csv; Default: None

  • file_type (FileTypes): Type of file to write; Example: FileTypes.CSV; Default: FileTypes.Auto

  • flush (bool): If true, flush the file after each write; Example: false; Default: false

  • include_index_col (bool): If true, include the index column; Example: false; Default: true

  • overwrite (bool): If true, overwrite the file if it exists; Example: true; Default: false

Previous morpheus.modules.write_to_elasticsearch
Next morpheus.parsers
© Copyright 2024, NVIDIA. Last updated on Dec 3, 2024.