term.reference module

class term.reference.Reference(node_name: str, creation: int, refid: bytes) → None

Bases: object

Represents a reference value from Erlang, typically it has 12 bytes of unique data, but it might change.

equals(other) → bool
id_ = None

Identification bytes, guaranteed to be unique on the creating node

node_name_ = None

Node the ref comes from. NOTE: native codec assumes this is a string.