Docs Updates (#2840)
Some checks failed
Notify Downstream / notify-downstream (push) Has been cancelled

* docs: remove EventHandler reference on docs

* docs: add section explaining how to run a Crew from CrewBase
This commit is contained in:
Lucas Gomide
2025-05-15 10:17:21 -03:00
committed by GitHub
parent c566747d4a
commit 49bbf3f234
2 changed files with 26 additions and 9 deletions

View File

@@ -117,6 +117,12 @@ class YourCrewName:
)
```
How to run the above code:
```python code
YourCrewName().crew().kickoff(inputs={"any": "input here"})
```
<Note>
Tasks will be executed in the order they are defined.
</Note>
@@ -184,6 +190,11 @@ class YourCrewName:
verbose=True
)
```
How to run the above code:
```python code
YourCrewName().crew().kickoff(inputs={})
```
In this example: