examples/python/functions/crewai_job/function.py to package a
CrewAI project, run crewai run as a finite job, and publish declared outputs.
Setup
CLI
result.json and
reports/report.md.
Function Definition
function.py
Python
The companionrun.py script uses the same function contract through the SDK: