Skip to content

Commit 039b914

Browse files
committed
Formatting
1 parent 1c968db commit 039b914

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

src/a2a/types.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,9 @@ class DeleteTaskPushNotificationConfigParams(A2ABaseModel):
239239
Task id.
240240
"""
241241
metadata: dict[str, Any] | None = None
242-
push_notification_config_id: str = Field(..., alias='pushNotificationConfigId')
242+
push_notification_config_id: str = Field(
243+
..., alias='pushNotificationConfigId'
244+
)
243245

244246

245247
class DeleteTaskPushNotificationConfigRequest(A2ABaseModel):
@@ -968,7 +970,9 @@ class AgentCapabilities(A2ABaseModel):
968970
"""
969971
extensions supported by this agent.
970972
"""
971-
push_notifications: bool | None = Field(default=None, alias='pushNotifications')
973+
push_notifications: bool | None = Field(
974+
default=None, alias='pushNotifications'
975+
)
972976
"""
973977
true if the agent can notify updates to client.
974978
"""
@@ -1348,7 +1352,9 @@ class Message(A2ABaseModel):
13481352
"""
13491353
Message content
13501354
"""
1351-
reference_task_ids: list[str] | None = Field(default=None, alias='referenceTaskIds')
1355+
reference_task_ids: list[str] | None = Field(
1356+
default=None, alias='referenceTaskIds'
1357+
)
13521358
"""
13531359
List of tasks referenced as context by this message.
13541360
"""
@@ -1625,7 +1631,9 @@ class AgentCard(A2ABaseModel):
16251631
A human-readable description of the agent. Used to assist users and
16261632
other agents in understanding what the agent can do.
16271633
"""
1628-
documentation_url: str | None = Field(default=None, alias='documentationUrl')
1634+
documentation_url: str | None = Field(
1635+
default=None, alias='documentationUrl'
1636+
)
16291637
"""
16301638
A URL to documentation for the agent.
16311639
"""
@@ -1637,11 +1645,15 @@ class AgentCard(A2ABaseModel):
16371645
"""
16381646
Human readable name of the agent.
16391647
"""
1640-
preferred_transport: str | None = Field(default=None, alias='preferredTransport')
1648+
preferred_transport: str | None = Field(
1649+
default=None, alias='preferredTransport'
1650+
)
16411651
"""
16421652
The transport of the preferred endpoint. If empty, defaults to JSONRPC.
16431653
"""
1644-
protocol_version: str | None = Field(default='0.2.5', alias='protocolVersion')
1654+
protocol_version: str | None = Field(
1655+
default='0.2.5', alias='protocolVersion'
1656+
)
16451657
"""
16461658
The version of the A2A protocol this agent supports.
16471659
"""

0 commit comments

Comments
 (0)