File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77import logging
88import tempfile
99
10+ from pathvalidate import ValidationError , validate_filename
11+
1012import dataiku
1113from dataiku .customrecipe import get_input_names_for_role
1214from dataiku .customrecipe import get_output_names_for_role
1315from dataiku .customrecipe import get_recipe_config
14- from pathvalidate import ValidationError , validate_filename
1516
1617from xlsx_writer import dataframes_to_xlsx
1718
5354 tmp_file_path = tmp_file .name
5455 logger .info ("Intend to write the output xls file to the following location: {}" .format (tmp_file_path ))
5556
56- dataframes_to_xlsx (input_datasets_names , tmp_file_path , lambda name : dataiku .Dataset (name ).get_dataframe (infer_with_pandas = False ))
57+ dataframes_to_xlsx (input_datasets_names , tmp_file_path , lambda name : dataiku .Dataset (name ).get_dataframe ())
5758
5859 with open (tmp_file_path , 'rb' , encoding = None ) as f :
5960 output_folder .upload_stream (output_file_name , f )
You can’t perform that action at this time.
0 commit comments