Option
uses of python
The functions and the service calls that the Python code may call back.
Value
A list of them, each as it was imported. Python calls one with tent.call('name', input), which answers its answer: as the caller of the call, through the rule of that function, and inside the call, so a call that only reads stays one. A name that uses does not hold is code.T0013. A call that fails raises tent.Error with code, message and fields; one that run lets out arrives at the caller as itself. Left out, it may call none.
Example
TypeScript
export const churn = python('churn', {
file: 'ml/churn.py',
input: { team: link('teams') },
output: object({ risk: number() }),
access: role('staff'),
uses: [hooks.status],
})