Create an access path that indicate a map item is missing. Parameters ---------- key The key of the item to access Returns ------- AccessPath The extended access path
(self, key: Any)
| 231 | return self._map_item(key) |
| 232 | |
| 233 | def map_item_missing(self, key: Any) -> AccessPath: |
| 234 | """Create an access path that indicate a map item is missing. |
| 235 | |
| 236 | Parameters |
| 237 | ---------- |
| 238 | key |
| 239 | The key of the item to access |
| 240 | |
| 241 | Returns |
| 242 | ------- |
| 243 | AccessPath |
| 244 | The extended access path |
| 245 | |
| 246 | """ |
| 247 | return self._map_item_missing(key) |
| 248 | |
| 249 | def to_steps(self) -> Sequence[AccessStep]: |
| 250 | """Convert the access path to a list of access steps. |