File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff 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."""
You can’t perform that action at this time.
0 commit comments