Has anyone run into the issue where 'with arcpy.da.Editor(workspace, multiuser_mode=True):' doesn't do anything? In my case, my script works up until this point, and just endlessly runs. It doesn't reach the 'arcpy.AddMessage('starting edit')' part or anything within the with statement. I end up having to ctrl+alt+del Pro just to get out.
import arcpy
import os
import sys
import geopandas
userInput = arcpy.GetParameterAsText(0)
inputDesc = arcpy.Describe(userInput)
workspace = os.path.dirname(inputDesc.catalogPath)
wsDesc = arcpy.Describe(workspace)
versioned = inputDesc.isVersioned
if hasattr(wsDesc, "datasetType") and wsDesc.datasetType == 'FeatureDataset':
workspace = os.path.dirname(workspace)
with arcpy.da.Editor(workspace, multiuser_mode=False):
arcpy.AddMessage('starting edit')
calcCoords(userInput)