Skip to content

Commit 075010e

Browse files
jer96jer
andauthored
refactor(a2a): upper bound deps + remove from multiagent submodule (#447)
Co-authored-by: jer <[email protected]>
1 parent 7e8243a commit 075010e

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ writer = [
9191

9292
a2a = [
9393
"a2a-sdk[sql]>=0.2.11,<1.0.0",
94-
"uvicorn>=0.34.2",
95-
"httpx>=0.28.1",
96-
"fastapi>=0.115.12",
97-
"starlette>=0.46.2",
94+
"uvicorn>=0.34.2,<1.0.0",
95+
"httpx>=0.28.1,<1.0.0",
96+
"fastapi>=0.115.12,<1.0.0",
97+
"starlette>=0.46.2,<1.0.0",
9898
]
9999
all = [
100100
# anthropic
@@ -137,10 +137,10 @@ all = [
137137

138138
# a2a
139139
"a2a-sdk[sql]>=0.2.11,<1.0.0",
140-
"uvicorn>=0.34.2",
141-
"httpx>=0.28.1",
142-
"fastapi>=0.115.12",
143-
"starlette>=0.46.2",
140+
"uvicorn>=0.34.2,<1.0.0",
141+
"httpx>=0.28.1,<1.0.0",
142+
"fastapi>=0.115.12,<1.0.0",
143+
"starlette>=0.46.2,<1.0.0",
144144
]
145145

146146
[tool.hatch.version]

src/strands/multiagent/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
standardized communication between agents.
99
"""
1010

11-
from . import a2a
1211
from .base import MultiAgentBase, MultiAgentResult
1312
from .graph import GraphBuilder, GraphResult
1413

1514
__all__ = [
16-
"a2a",
1715
"GraphBuilder",
1816
"GraphResult",
1917
"MultiAgentBase",

src/strands/multiagent/a2a/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
A2AAgent: A wrapper that adapts a Strands Agent to be A2A-compatible.
1010
"""
1111

12+
from .executor import StrandsA2AExecutor
1213
from .server import A2AServer
1314

14-
__all__ = ["A2AServer"]
15+
__all__ = ["A2AServer", "StrandsA2AExecutor"]

0 commit comments

Comments
 (0)