pavilion2 icon indicating copy to clipboard operation
pavilion2 copied to clipboard

Enable expression functions to accept multiple types

Open nicholas-sly opened this issue 4 years ago • 0 comments

Enable the arg_specs to accept more than one type for an input. The example here is the int expression function is simply wrapping the int() function in python, which can accept several types and return an int type regardless. This is useful because int would be the intuitive method for converting other number types into an int along with strings, which is currently the only supported type.

nicholas-sly avatar Feb 02 '21 21:02 nicholas-sly