Create an access path to the item of the current array. Parameters ---------- index The index of the item to access Returns ------- AccessPath The extended access path
(self, index: int)
| 183 | return self._attr_missing(attr_key) |
| 184 | |
| 185 | def array_item(self, index: int) -> AccessPath: |
| 186 | """Create an access path to the item of the current array. |
| 187 | |
| 188 | Parameters |
| 189 | ---------- |
| 190 | index |
| 191 | The index of the item to access |
| 192 | |
| 193 | Returns |
| 194 | ------- |
| 195 | AccessPath |
| 196 | The extended access path |
| 197 | |
| 198 | """ |
| 199 | return self._array_item(index) |
| 200 | |
| 201 | def array_item_missing(self, index: int) -> AccessPath: |
| 202 | """Create an access path that indicate an array item is missing. |