I am getting an error attempting to use output written to memory.
See code and error below. I have tried with setting arcpy.env.workspace and without.
import arcpy
##arcpy.env.workspace = r"C:\TEMP\Test.gdb"
arcpy.analysis.GenerateNearTable(r"C:\TEMP\Test.gdb\ControlSectionSprint12", r"C:\TEMP\Test.gdb\ControlSectionSprint12", r"memory\Near", "500 Feet", "NO_LOCATION", "NO_ANGLE", "ALL", None, "PLANAR")
arcpy.gapro.SummarizeAttributes(r"memory\Near", r"C:\TEMP\Test.gdb\NearSummarize", "IN_FID", None)

Thanks,
Randy