AIT-Core
AIT-Core copied to clipboard
cmd.validate() fails if one of the arguments is an array
ait.core.cmd.validate() fails if any argument is of type ait.core.dtype.ArrayType. The validate function behavior should be modified if ArgDefn.type == ArrayType(elemType) so that the elemType is compared to the list of primitive types.
@kmarwah AIT generally does not recommend ArrayTypes for Commanding arguments. There may be some incidental support with the way datatypes are structured in the code, but its ultimately not a feature currently expected to be supported by Core. Did you have a specific use-case?