mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-26 08:38:15 +00:00
chore: update typing import for python version compat
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from collections.abc import AsyncIterator
|
from collections.abc import AsyncIterator
|
||||||
from typing import TYPE_CHECKING, NotRequired, TypedDict
|
from typing import TYPE_CHECKING, TypedDict
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from a2a.types import (
|
from a2a.types import (
|
||||||
@@ -17,6 +17,7 @@ from a2a.types import (
|
|||||||
TaskStatusUpdateEvent,
|
TaskStatusUpdateEvent,
|
||||||
TextPart,
|
TextPart,
|
||||||
)
|
)
|
||||||
|
from typing_extensions import NotRequired
|
||||||
|
|
||||||
from crewai.events.event_bus import crewai_event_bus
|
from crewai.events.event_bus import crewai_event_bus
|
||||||
from crewai.events.types.a2a_events import A2AResponseReceivedEvent
|
from crewai.events.types.a2a_events import A2AResponseReceivedEvent
|
||||||
|
|||||||
Reference in New Issue
Block a user