I need to do some update an attribute on a SDE feature class (versioned).
The feature class is within a FeatureDataset.
I want to do a simple calculate field on a specific version of my data (the user will chose the version).
But It fail every time. I can do this on the DEFAULT version only.
I try something like this
edit = arcpy.da.Editor(workspace)
#Creating a feature layer (no selection, all the data)
#Changing the version
arcpy.ChangeVersion_management(_mon_feature_layer, 'TRANSACTIONAL', _ma_version_cible)