Skip to content

S3  >  Dictionaries  >  CSVOutputDict

CSVOutputDict

Dictionary Type

CSVOutputDict

Bases: TypedDict

Dictionary form of CSVOutput.

Attributes

field_delimiter instance-attribute
field_delimiter: str | None

The value used to separate individual fields in a record. You can specify an arbitrary delimiter.

quote_character instance-attribute
quote_character: str | None

A single character used for escaping when the field delimiter is part of the value. For example, if the value is a, b, Amazon S3 wraps this field value in quotation marks, as follows: " a , b ".

quote_escape_character instance-attribute
quote_escape_character: str | None

The single character used for escaping the quote character inside an already escaped value.

quote_fields instance-attribute
quote_fields: str | None

Indicates whether to use quotation marks around output fields.

  • ALWAYS: Always use quotation marks for output fields.

  • ASNEEDED: Use quotation marks for output fields when needed.

record_delimiter instance-attribute
record_delimiter: str | None

A single character used to separate individual records in the output. Instead of the default value, you can specify an arbitrary delimiter.