dragon.data.ddict.DDictItemsView
- class DDictItemsView[source]
Bases:
object
A live view of the items of a DDict object. This object provides an items view much like the native Python dict has a items view object which is created by calling the items method on the DDict. The DDictItemsView provides several operations which are efficiently implemented including len and iter.
Unlike native dict objects, DDict objects do not support maintaining the order of keys inserted into the DDict. Hence, reversed is not supported.
Methods
__init__
(ddict, managers[, local])Attributes
Calling this results in a read-only version of the DDict.
- property mapping
Calling this results in a read-only version of the DDict.
- Returns:
DDictMappingProxy: A read-only proxy to the original DDict.