Skip to content

Commit 8e652cc

Browse files
committed
Fixing typos in various files
1 parent 224d4f5 commit 8e652cc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Our Pledge
44

55
In the interest of fostering an open and welcoming environment, we as
6-
contributors and maintainers pledge to making participation in our project and
6+
contributors and maintainers pledge to make participation in our project and
77
our community a harassment-free experience for everyone, regardless of age, body
88
size, disability, ethnicity, gender identity and expression, level of
99
experience, education, socio-economic status, nationality, personal appearance,

src/a2a/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ class SetTaskPushNotificationConfigSuccessResponse(BaseModel):
933933

934934
class Artifact(BaseModel):
935935
"""
936-
Represents an artifact generated for a task task.
936+
Represents an artifact generated for a task.
937937
"""
938938

939939
artifactId: str

src/a2a/utils/errors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
class A2AServerError(Exception):
18-
"""Base exception for A2A Server errors."""
18+
"""Base exception for A2A Server errors."""
1919

2020

2121
class MethodNotImplementedError(A2AServerError):

src/a2a/utils/helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def append_artifact_to_task(task: Task, event: TaskArtifactUpdateEvent) -> None:
6565
)
6666
task.artifacts.append(new_artifact_data)
6767
elif existing_artifact:
68-
# Append new parts to the existing artifact's parts list
68+
# Append new parts to the existing artifact's part list
6969
logger.debug(
7070
f'Appending parts to artifact id {artifact_id} for task {task.id}'
7171
)
@@ -93,7 +93,7 @@ def wrapper(self, *args, **kwargs):
9393
if not expression(self):
9494
if not error_message:
9595
message = str(expression)
96-
logger.error(f'Unsuppported Operation: {error_message}')
96+
logger.error(f'Unsupported Operation: {error_message}')
9797
raise ServerError(
9898
UnsupportedOperationError(message=error_message)
9999
)

0 commit comments

Comments
 (0)