We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 435a389 commit aed8f3eCopy full SHA for aed8f3e
1 file changed
application/utils/spreadsheet_parsers.py
@@ -135,7 +135,15 @@ def is_empty(value: Optional[str]) -> bool:
135
)
136
137
138
-def validate_export_csv_rows(rows: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
+def validate_import_csv_rows(rows: List[Dict[str, Any]]) -> List[Dict[str, Any]]:
139
+ """
140
+ Entry point for parsing imported CSV files.
141
+
142
+ CSV validation is handled at the parser level.
143
+ Structural and row-level validation rules are implemented in
144
+ "validate_import_csv_rows", which is invoked internally
145
+ before parsing proceeds.
146
147
if not rows:
148
raise ValueError("Invalid CSV format or missing data rows")
149
0 commit comments