Skip to content

ContextChange

Source code in docs_src/capo_networkmanager/types/context_change.py
class ContextChange(TypedDict, closed=True):
    change_type: NotRequired[
        "capo_networkmanager.types.context_change_type.ContextChangeType"
    ]
    """<p>The type of change. The possible values are the following:</p> <ul> <li> <p> <code>ADDED</code>: The context entry was added to the context store.</p> </li> <li> <p> <code>REMOVED</code>: The context entry was removed from the context store.</p> </li> </ul>"""
    context: NotRequired["capo_networkmanager.types.context_entry.ContextEntry"]
    """<p>The context entry that was added or removed.</p>"""

change_type instance-attribute

change_type: NotRequired[ContextChangeType]

The type of change. The possible values are the following:

  • ADDED: The context entry was added to the context store.

  • REMOVED: The context entry was removed from the context store.

context instance-attribute

context: NotRequired[ContextEntry]

The context entry that was added or removed.