File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/superannotate/lib/app/interface Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1190,7 +1190,7 @@ def prepare_export(
11901190 :param kwargs:
11911191 Arbitrary kwargs::
11921192 * integration_name: can be provided which will be used as a storage to store export file
1193- * export_type : can be CSV for the Gen AI projects
1193+ * format : can be CSV for the Gen AI projects
11941194
11951195 :return: metadata object of the prepared export
11961196 :rtype: dict
@@ -1219,8 +1219,8 @@ def prepare_export(
12191219 else :
12201220 raise AppException ("Integration not found." )
12211221 _export_type = None
1222- export_type = kwargs .get ("export_type " )
1223- if export_type and export_type == "csv" :
1222+ export_type = kwargs .get ("format " )
1223+ if export_type and export_type . lower () == "csv" :
12241224 _export_type = 3
12251225 response = self .controller .prepare_export (
12261226 project_name = project_name ,
You can’t perform that action at this time.
0 commit comments