chore: use python version compat types

This commit is contained in:
Greyson LaLonde
2026-01-05 20:11:13 -05:00
parent 33caeeba28
commit 8c089636e0
2 changed files with 3 additions and 2 deletions

View File

@@ -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 (

View File

@@ -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,