mirror of
https://github.com/crewAIInc/crewAI.git
synced 2025-12-16 04:18:35 +00:00
Fix lint errors: Import Any from typing and remove quotes from type annotation
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""Handles planning and coordination of crew tasks."""
|
||||
|
||||
import logging
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
@@ -9,6 +10,10 @@ from crewai.llms.base_llm import BaseLLM
|
||||
from crewai.task import Task
|
||||
|
||||
|
||||
if TYPE_CHECKING:
|
||||
pass
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -44,7 +49,7 @@ class CrewPlanner:
|
||||
self,
|
||||
tasks: list[Task],
|
||||
planning_agent_llm: str | BaseLLM | None = None,
|
||||
crew: "Any" = None,
|
||||
crew: Any = None,
|
||||
) -> None:
|
||||
"""Initialize CrewPlanner with tasks and optional planning agent LLM.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user