mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-09 12:38:14 +00:00
style: ruff format generate_tool_specs.py
This commit is contained in:
@@ -181,8 +181,7 @@ class ToolSpecExtractor:
|
||||
}
|
||||
if "required" in json_schema:
|
||||
json_schema["required"] = [
|
||||
key for key in json_schema["required"]
|
||||
if key not in ignored_init_params
|
||||
key for key in json_schema["required"] if key not in ignored_init_params
|
||||
]
|
||||
return json_schema
|
||||
|
||||
|
||||
Reference in New Issue
Block a user