Simple call with all parameters specified.*
import RPLib sdeOwner = "C:/GIS/SDEADMIN@GIS.sde" RPLib.compressgdb(sdeOwner)
If Else logic with all parameters specified.
import RPLib sdeOwner = "C:/GIS/SDEADMIN@GIS.sde" if RPLib.compressgdb(sdeOwner): print("successful, run another tool") else: print("failed, run another tool")