4.12. APIs (Python)
4.12.1. Access to collection elements in some DynamicData accessors was not zero-based
Given a DynamicData instance sample
with a sequence or array field
(my_seq
), when accessed via a nested field expression, the indexes
were 1-based, not 0-based as in the rest of the API accessors. For
example, the following was incorrect because the first element was 1:
value = sample["my_seq[0].x"]
This problem has been resolved. Now, indexes are zero-based and the expression above is valid.
[RTI Issue ID PY-98]