Select to view content in your preferred language

python toolbox - value table parameter - how to hardcode for debug?

1634
2
Jump to solution
03-01-2022 01:55 AM
I_AM_ERROR
Regular Contributor

Hi. I'm fairly new to python toolboxes. I'd like to setup my parameters as hardcoded in for debugging purposes (see link here)

I'm not sure what format is used for the value table data type, or where documentation is located. The pages i've found list how to get parameters as value table, but not what a value table object looks like once it's created (which is what I believe i need).

Any help much appreciated!

0 Kudos
1 Solution

Accepted Solutions
2 Replies
DanPatterson
MVP Esteemed Contributor
I_AM_ERROR
Regular Contributor

thanks for links, was able to hardcode them in using the statement below (incase anyone else is looking for this)

param1.values = [['NAME', 'SUM']]

 

0 Kudos