with arcpy.da.UpdateCursor(in_table=in_table,field_names=in_field,) as cursor:
for row in cursor:
guid=str(uuid.uuid1()).upper() if is_upper else str(uuid.uuid1())
row[0]=guid if have_link else guid.replace('-','')
cursor.updateRow(row)
del row,cursor