You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with arcpy.da.SearchCursor(table, [field]) as cursor:
return sorted({row[0] for row in cursor})
# example of use `return_unique_values(r'S:\Infrastructure Planning\Staff\Jared\Sewer Strategy Report Catchments\AssigningManholeNumbersToProperties\SewerGEMS\Database\SewGEMS.mdb\BohlePlains_PropertiesWithUSManholeNumbers', 'PROPERTY_CODE')`