CSV exporter
__init__(delimiter=',', quotechar='"', quoting=QUOTE_ALL, ignore_fields=None)
CSV exporter.
PARAMETER | DESCRIPTION |
---|---|
delimiter
|
delimiter. Defaults to ",".
TYPE:
|
quotechar
|
quote character. Defaults to '"'.
TYPE:
|
quoting
|
quoting. Defaults to QUOTE_ALL.
TYPE:
|
ignore_fields
|
fields to ignore. By default we ignore the "result" and "payload" fields.
TYPE:
|
export(events)
Export events to CSV format.
PARAMETER | DESCRIPTION |
---|---|
events
|
events to export.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str | None
|
str | None: CSV data. |