# FilePublisherConfig

## pydantic model FilePublisherConfig[source]

Bases: `BaseModel`

Publisher config for writing measurements to a local file.

### field type: Literal['FilePublisher'] = 'FilePublisher'

### field directory: str [Required]

Output directory for the written file.

### field format: Literal['json', 'jsonl', 'csv', 'avro'] = 'avro'

### field custom_file_name: str | None = None

Filename without extension.
