Skip to content

PyoMappingView

Bases: MappingView, PyoSized


              flowchart TD
              pyochain.abc._views.PyoMappingView[PyoMappingView]
              pyochain.abc._collection.PyoSized[PyoSized]
              pyochain.abc._mixins.Checkable[Checkable]

                              pyochain.abc._collection.PyoSized --> pyochain.abc._views.PyoMappingView
                                pyochain.abc._mixins.Checkable --> pyochain.abc._collection.PyoSized
                



              click pyochain.abc._views.PyoMappingView href "" "pyochain.abc._views.PyoMappingView"
              click pyochain.abc._collection.PyoSized href "" "pyochain.abc._collection.PyoSized"
              click pyochain.abc._mixins.Checkable href "" "pyochain.abc._mixins.Checkable"
            

Extends both MappingView from collections.abc and PyoCollection[T].

Is the base class shared by the views returned by PyoMapping methods.

Source code in pyochain/abc/_views.pyi
22
23
24
25
26
27
28
29
class PyoMappingView(MappingView, PyoSized):
    """Extends both `MappingView` from `collections.abc` and `PyoCollection[T]`.

    Is the base class shared by the views returned by `PyoMapping` methods.
    """
    def __init__(self, mapping: Sized) -> None: ...
    @override
    def __len__(self) -> int: ...