style: fix ruff formatting in converter.py

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2026-04-02 12:44:44 +00:00
parent 128552a5fa
commit 85369cf23e

View File

@@ -589,7 +589,9 @@ async def aconvert_with_instructions(
instructions=instructions,
)
exported_result = (
await converter.ato_pydantic() if not is_json_output else await converter.ato_json()
await converter.ato_pydantic()
if not is_json_output
else await converter.ato_json()
)
if isinstance(exported_result, ConverterError):