mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Added docstring
This commit is contained in:
@@ -1099,7 +1099,16 @@ class Crew(BaseModel):
|
|||||||
return required_inputs
|
return required_inputs
|
||||||
|
|
||||||
def copy(self):
|
def copy(self):
|
||||||
"""Create a deep copy of the Crew."""
|
"""
|
||||||
|
Creates a deep copy of the Crew instance.
|
||||||
|
|
||||||
|
Handles copying of:
|
||||||
|
- Basic attributes
|
||||||
|
- Manager agent and LLM configurations
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
Crew: A new instance with copied components
|
||||||
|
"""
|
||||||
|
|
||||||
exclude = {
|
exclude = {
|
||||||
"id",
|
"id",
|
||||||
|
|||||||
Reference in New Issue
Block a user