DataHandles not properly treated when DataHandle is in a map
In the case an algorithm has only one output, the algorithm and the data handle can be used synonymous. As an example the following lines work:
vdp1 = VectorDataProducer()
vdp2 = VectorDataProducer()
mt = IntVectorsToIntVector(InputLocations=[vdp1, vdp2])
mt2 = IntVectorsToIntVector(
InputLocations=[vdp1.OutputLocation, vdp2.OutputLocation])
When having a property which is a map this case is not tested and the following does not work:
vdp1 = VectorDataProducer()
vdp2 = VectorDataProducer()
mt4 = IntVectorsToIntVector(InputLocations=[
[FunctorLike(vdp1)],
{
"key": FunctorLike(vdp2)
},
])
The issue was discovered in DaVinci!654 (comment 5320555) .
The initial support for maps was added in !3391 (merged) .