I’m trying to compress FGDB with ArcToolbox tool with PythonCaller. This gives no error, but nothing happens after running it. What I am missing? Using FME 2024 with ArcGIS Pro 3.4. Compatability is set to ArcGIS Python 3.11.
import fme
import arcpy
def compress_fgdb(fme_feature):
fgdb_path = fme.macroValues['FGDB_PATH']
arcpy.management.CompressFileGeodatabaseData(fgdb_path, "Lossless compression")
return fme_feature