Skip to content

Commit 7701012

Browse files
committed
Ignore linter failure for MutableMapping to be available at runtime
1 parent b4d5e6f commit 7701012

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/a2a/client/middleware.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
from __future__ import annotations
22

33
from abc import ABC, abstractmethod
4+
from collections.abc import MutableMapping # noqa: TC003
45
from typing import TYPE_CHECKING, Any
56

67
from pydantic import BaseModel, Field
78

89

910
if TYPE_CHECKING:
10-
from collections.abc import MutableMapping
11-
1211
from a2a.types import AgentCard
1312

1413

0 commit comments

Comments
 (0)