Files
crewAI/src/crewai/tasks/output_format.py
Greyson LaLonde f936e0f69b chore: enhance typing and documentation in tasks module (#3467)
- Disable E501 line length linting rule
- Add Google-style docstrings to tasks leaf file
- Modernize typing and docs in task_output.py
- Improve typing and documentation in conditional_task.py
2025-09-08 11:42:23 -04:00

18 lines
393 B
Python

"""Task output format definitions for CrewAI."""
from enum import Enum
class OutputFormat(str, Enum):
"""Enum that represents the output format of a task.
Attributes:
JSON: Output as JSON dictionary format
PYDANTIC: Output as Pydantic model instance
RAW: Output as raw unprocessed string
"""
JSON = "json"
PYDANTIC = "pydantic"
RAW = "raw"