REVEN API Cookbook
Welcome to the REVEN API Cookbook.
This book is a collection of examples that demonstrate good practices to accomplish common tasks using the REVEN API.
Common abbreviations and variable names
REVEN scripts tend to re-use the same abbreviations and variable names for common objects.
Abbreviation | Description |
---|---|
server | A reven2.RevenServer instance representing a connection to a REVEN server |
pm | A reven2.preview.project_manager.ProjectManager instance representing a connection to the Project Manager |
trace | A reven2.trace.Trace instance, usually obtained from server.trace |
tr | A reven2.trace.Transition instance, usually obtained from trace.transition(tr_id) |
ctx | A reven2.trace.Context instance, usually obtained from e.g. trace.context_before(tr_id) |