testing.Pin
A durable native reference created for a committed state.
Usage
testing.Pin(
id,
ref,
created=True,
)Parameter Attributes
id: strref: strcreated: bool = True-
Whether this pin() call created the ref (
False: it already carried the state). Runtime only – not serialised. The engine rolls back only the pins it created; a reused pin belongs to the commit that made it.