File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,7 +316,9 @@ def load_from_metadata(
316316 if file_info ["format" ] == "csv" :
317317 # Download to temp file for CSV inference
318318 suffix = ".csv"
319- with tempfile .NamedTemporaryFile (suffix = suffix , delete = False ) as temp_file :
319+ with tempfile .NamedTemporaryFile (
320+ suffix = suffix , delete = False
321+ ) as temp_file :
320322 temp_path = Path (temp_file .name )
321323 try :
322324 with open (temp_path , "wb" ) as data_file :
@@ -451,7 +453,9 @@ def save_dataframes(
451453
452454 # For Excel files, return mapping of sheet names to URL
453455 azure_url = f"azure://{ container_name } /{ blob_name } "
454- return {sheet_name : azure_url for sheet_name in dataframes .keys ()}
456+ return {
457+ sheet_name : azure_url for sheet_name in dataframes .keys ()
458+ }
455459 finally :
456460 temp_path .unlink (missing_ok = True )
457461 else :
You can’t perform that action at this time.
0 commit comments