Skip to content

UpdateOperation

Source code in docs_src/capo_context/types/update_operation.py
class UpdateOperation(TypedDict, closed=True):
    entity: "capo_context.types.entity.Entity"
    """<p>The node or edge to change. A node's ID is built from its <code>nodeType</code> and identity properties, so <code>entity.nodeId</code> is a placeholder that must differ for each node in one write.</p>"""
    properties: "capo_context.types.metadata.Metadata"
    """<p>The properties to set, up to 50. <code>{}</code> when there are none. <code>ListChangeSetOperations</code> lists them as it lists those of <code>PutOperation</code>.</p>"""

entity instance-attribute

entity: Entity

The node or edge to change. A node's ID is built from its nodeType and identity properties, so entity.nodeId is a placeholder that must differ for each node in one write.

properties instance-attribute

properties: Metadata

The properties to set, up to 50. {} when there are none. ListChangeSetOperations lists them as it lists those of PutOperation.