mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-23 23:28:15 +00:00
fix: use typing_extensions.TypedDict for Python < 3.12 compatibility
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
"""Types for CrewAI utilities."""
|
||||
|
||||
from typing import Any, Literal, TypedDict
|
||||
from typing import Any, Literal
|
||||
|
||||
from crewai_files import FileInput
|
||||
from typing_extensions import NotRequired
|
||||
from typing_extensions import NotRequired, TypedDict
|
||||
|
||||
|
||||
class LLMMessage(TypedDict):
|
||||
@@ -28,4 +28,4 @@ class KickoffInputs(TypedDict, total=False):
|
||||
files: Named file inputs accessible to tasks during execution.
|
||||
"""
|
||||
|
||||
files: dict[str, FileInput]
|
||||
files: dict[str, FileInput]
|
||||
|
||||
Reference in New Issue
Block a user