From ef5dc4517add51eee89e5e8390e4aa751cf0e800 Mon Sep 17 00:00:00 2001 From: Lucas Gomide Date: Thu, 15 May 2025 09:31:28 -0300 Subject: [PATCH] docs: add section explaining how to run a Crew from CrewBase --- docs/concepts/crews.mdx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/concepts/crews.mdx b/docs/concepts/crews.mdx index 97d1a7d6c..8ebefff2f 100644 --- a/docs/concepts/crews.mdx +++ b/docs/concepts/crews.mdx @@ -117,6 +117,12 @@ class YourCrewName: ) ``` +How to run the above code: + +```python code +YourCrewName().crew().kickoff(inputs={"any": "input here"}) +``` + Tasks will be executed in the order they are defined. @@ -184,6 +190,11 @@ class YourCrewName: verbose=True ) ``` +How to run the above code: + +```python code +YourCrewName().crew().kickoff(inputs={}) +``` In this example: