import arcpy arcpy.Compress_management("Database Connections\Connection to brockville.sde")
This is something I am a little confused on...
Don't you actually need to also reconcile/post outstanding edits and then delete user versions -> compress -> recreate user versions -> update statistics
I have been looking for a python script that will actually do this full compress workflow but so far have only found pieces.
Any insight to this would be appreciated!
Actually William Craft you already answered the question at the link below.
https://community.esri.com/message/86698#86698
Just found that. Thanks!