when i run the below snippet, i expect to have a downloaded file "filegdb.zip", but what comes out is a file called "temp_export.zip". The file_name parameter of the export_item.download function is not being respected. It was working correctly untill very recently. Anyone else experiencing this or know what's going on?
from arcgis.gis import GIS
gis = GIS(username="username",password="password")
item_id = "xyz"
file_name= "filegdb.zip"
download_folder = "C:/temp_folder/"
output_format="File Geodatabase"
item = gis.content.get(item_id)
export_item = item.export(title="temp_export", export_format=output_format)
export_item.download(save_path=download_folder, file_name=file_name)
export_item.delete()