How can I programatically set the "Description" for a ArcPy Geoprocessing Service?

المشرف العام

Administrator
طاقم الإدارة
How can I programatically set the "Description" for a ArcPy Geoprocessing Service?

When I create a Python Toolbox (pyt), I set the name and description of the toolbox. When I create the parameters, I can set their name, type, default value, in/out, etc. Basically, everything that the system needs to know about this toolbox is contained in the Python code and object attributes.

Now I want to publish this pyt as a geoprocessing service. I go through the steps and click Analyze and it says that all of my parameters are missing descriptions and it won't let me publish until they're filled in. If I'm debugging or experimenting, this results in a lot of parameters with a description of 'asdf'.

It seems like there should be somewhere where the Description for the properties could be filling in or specified, but I've yet to find it. Any ideas?



أكثر...
 
أعلى