Skip to content

Commit 50a93d9

Browse files
committed
fix(results): correct Raises docstring — ValueError -> InvalidFileFormatError
1 parent 68fa965 commit 50a93d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/data-designer/src/data_designer/interface

packages/data-designer/src/data_designer/interface/results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def export(self, path: Path | str, *, format: ExportFormat = "jsonl") -> Path:
112112
Path to the written file.
113113
114114
Raises:
115-
ValueError: If an unsupported format is requested.
115+
InvalidFileFormatError: If an unsupported format is requested.
116116
117117
Example:
118118
>>> results = data_designer.create(config, num_records=1000)

0 commit comments

Comments
 (0)