fields.base.SparseField.items#

SparseField.items() Iterable#

Return a view of (index, component) pairs in the field.

This is equivalent to calling .items() on the underlying component dictionary.

Returns:

A view over the field’s component index-value pairs.

Return type:

ItemsView