Skip to content

References

Name What it does
BoxRef the box a reference field refers to, as snapshot, events and watch report it

BoxRef dataclass

BoxRef(name: str, schema_hash: int, create_id: int)

The box a reference field refers to, as snapshot, events and watch report it.

name instance-attribute

name: str

The box's name, which attach takes.

schema_hash instance-attribute

schema_hash: int

Schema hash of the box's own class, which may be a subclass of the annotated one.

create_id instance-attribute

create_id: int

Random number drawn when the box was created; tells it apart from one created later under the same name.

box_class property

box_class: type[SharedBox] | None

The class defined in this process with schema_hash, or None if there is none.