Since upgrading to ArcGIS Pro 2.9.3, and possibly 2.9, I am unable to assign the split and merge policies in Python when using the Create Domain (Data Management) tool. I have a large script which calls this tool multiple times to set up various domains.
Code sample 1 runs: arcpy.CreateDomain_management(fileGDB, "PointTypes", "Various symbology types for points.", "TEXT", "CODED")
Code sample 2 does not run: arcpy.CreateDomain_management(fileGDB, "PointTypes", "Various symbology types for points.", "TEXT", "CODED", "DUPLICATE", "AREA_WEIGHTED")
Error message: arcgisscripting.ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000800: The value is not a member of Use the attribute's default value.
Duplicate and Area Weighted are both valid parameters according to the tool reference page. Any help trouble shooting this will be helpful.