mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 07:42:40 +00:00
chore: use python version compat types
This commit is contained in:
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
import time
|
import time
|
||||||
from typing import TYPE_CHECKING, Any, Unpack
|
from typing import TYPE_CHECKING, Any
|
||||||
|
|
||||||
from a2a.client import Client
|
from a2a.client import Client
|
||||||
from a2a.types import (
|
from a2a.types import (
|
||||||
@@ -13,6 +13,7 @@ from a2a.types import (
|
|||||||
TaskQueryParams,
|
TaskQueryParams,
|
||||||
TaskState,
|
TaskState,
|
||||||
)
|
)
|
||||||
|
from typing_extensions import Unpack
|
||||||
|
|
||||||
from crewai.a2a.errors import A2APollingTimeoutError
|
from crewai.a2a.errors import A2APollingTimeoutError
|
||||||
from crewai.a2a.task_helpers import (
|
from crewai.a2a.task_helpers import (
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from typing import Unpack
|
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from a2a.client import Client
|
from a2a.client import Client
|
||||||
@@ -17,6 +16,7 @@ from a2a.types import (
|
|||||||
TaskStatusUpdateEvent,
|
TaskStatusUpdateEvent,
|
||||||
TextPart,
|
TextPart,
|
||||||
)
|
)
|
||||||
|
from typing_extensions import Unpack
|
||||||
|
|
||||||
from crewai.a2a.task_helpers import (
|
from crewai.a2a.task_helpers import (
|
||||||
ACTIONABLE_STATES,
|
ACTIONABLE_STATES,
|
||||||
|
|||||||
Reference in New Issue
Block a user