Tourbillon Documentation
Tourbillon workflows are implemented using the Starlark language, with additional libraries provided by the Tourbillon authors.
This documentation details each of the available libraries and their methods, etc.
Loading a Library
Within your workflow definition (.star file) you can refer to your chosen library with the load directive.
demo/load.star
load("<NAME-OF-LIBRARY>@v0", "<VAR-NAME>")
Example
You want to capture the current Unix timestamp in your workflow implementation:
demo/epoch.star
load("time@v0", "time")
def Execute(ctx, req):
epoch = time.now().unix()