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