I have started converting a tool from ArcMap to ArcGIS Pro and am having difficulty finding a function that is equitant to arcpy.mapping.UpdateLayer for ArcGIS Pro. Any ideas what functions I should use to replace this line of code:
arcpy.mapping.UpdateLayer(dataframe, afs_layer, sourceAfsSymbologyLayer, True)