fix: remove unnecessary assignment to satisfy RET504 lint rule

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2026-02-13 07:33:52 +00:00
parent 8f86634e43
commit 7d041a8916

View File

@@ -507,9 +507,7 @@ def generate_tool_parameters_schema(model: type[BaseModel]) -> dict[str, Any]:
json_schema = strip_null_from_types(json_schema)
json_schema = _strip_schema_metadata(json_schema)
return json_schema
return _strip_schema_metadata(json_schema)
FORMAT_TYPE_MAP: dict[str, type[Any]] = {