rl = [tool() for tool in tools] # calls each tool and stores the result objects in "rl" arcpy.CreateGPSDDraft(rl, r'S:\source\git\testpyt\test_gp_create.sddraft', 'test_gp') Out[4]: {'errors': {(u'ERROR 001242: Tool test1 is missing item description summary', 80): [], (u'ERROR 001242: Tool test2 is missing item description summary', 80): [], (u'ERROR 001242: Tool test3 is missing item description summary', 80): [], ..
Tool Error: 001242 states that, the task is missing the required summary in the Item Description. Provide a summary in Item Description.
These values must be filled in on the Item Description page from within ArcMap or ArcCatalog: http://resources.arcgis.com/en/help/main/10.1/index.html#/Documenting_a_tool_in_a_Python_toolbox/00150000003n000000/We haven't got much push or request to implement a 100% python solution for doc'ing Python Toolboxes. You could post an idea on http://ideas.arcgis.com if you'd like to see this considered.
I have exactly the same problem, but the provided link does not work for me.
Edit the ToolboxName.ToolName.pyt.xml file
Format the xml
Locate the <tool name="ToolName" displayname="ToolName" toolboxalias=""> tag
add a child tag <summary>My summary</summary>.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.