WriteToFile Module
This module writes messages to a file.
Parameter |
Type |
Description |
Example Value |
Default Value |
---|---|---|---|---|
filename |
string | Path to the output file | "output.csv" |
None |
file_type |
string | Type of file to write | "CSV" |
AUTO |
flush |
boolean | If true, flush the file after each write | false |
false |
include_index_col |
boolean | If true, include the index column | false |
true |
overwrite |
boolean | If true, overwrite the file if it exists | true |
false |
{
"filename": "output.csv",
"overwrite": true,
"flush": false,
"file_type": "CSV",
"include_index_col": false
}