Skip to content

Commit 5b3d711

Browse files
committed
refactor: reformat CompatGrpcTransport constructor parameters for conciseness.
1 parent 36e818a commit 5b3d711

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/a2a/compat/v0_3/grpc_transport.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,7 @@ async def wrapper(*args: Any, **kwargs: Any) -> Any:
8585
class CompatGrpcTransport(ClientTransport):
8686
"""A backward compatible gRPC transport for A2A v0.3."""
8787

88-
def __init__(
89-
self,
90-
channel: Channel,
91-
agent_card: a2a_pb2.AgentCard | None
92-
):
88+
def __init__(self, channel: Channel, agent_card: a2a_pb2.AgentCard | None):
9389
"""Initializes the CompatGrpcTransport."""
9490
self.agent_card = agent_card
9591
self.channel = channel

0 commit comments

Comments
 (0)