MCPcopy Create free account
hub / github.com/anshulahuja98/python3-crdt / add

Method add

py3crdt/sequence.py:7–26  ·  view source on GitHub ↗

The function to add an element with it's ID to Sequence object's payload. Args: payload (list): Payload in which element has to be added. elem (any_type): The element to be added. id (any_type): ID of the element. Returns: pa

(payload, elem, id)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected