Skip to content

Commit 6caf513

Browse files
apply ruff
1 parent 07e4088 commit 6caf513

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/a2a/server/tasks/task_store.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,18 @@ class TaskStore(ABC):
1212

1313
@abstractmethod
1414
async def save(
15-
self,
16-
task: Task,
17-
context: ServerCallContext | None = None
15+
self, task: Task, context: ServerCallContext | None = None
1816
) -> None:
1917
"""Saves or updates a task in the store."""
2018

2119
@abstractmethod
2220
async def get(
23-
self,
24-
task_id: str,
25-
context: ServerCallContext | None = None
21+
self, task_id: str, context: ServerCallContext | None = None
2622
) -> Task | None:
2723
"""Retrieves a task from the store by ID."""
2824

2925
@abstractmethod
3026
async def delete(
31-
self,
32-
task_id: str,
33-
context: ServerCallContext | None = None
27+
self, task_id: str, context: ServerCallContext | None = None
3428
) -> None:
3529
"""Deletes a task from the store by ID."""

0 commit comments

Comments
 (0)