mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-22 07:56:48 +00:00
Potential fix for pull request finding 'Statement has no effect'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
@@ -30,10 +30,12 @@ class RunStore(abc.ABC):
|
|||||||
error: str | None = None,
|
error: str | None = None,
|
||||||
created_at: str | None = None,
|
created_at: str | None = None,
|
||||||
follow_up_to_run_id: str | None = None,
|
follow_up_to_run_id: str | None = None,
|
||||||
) -> None: ...
|
) -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
async def get(self, run_id: str) -> dict[str, Any] | None: ...
|
async def get(self, run_id: str) -> dict[str, Any] | None:
|
||||||
|
pass
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
async def list_by_thread(
|
async def list_by_thread(
|
||||||
@@ -42,7 +44,8 @@ class RunStore(abc.ABC):
|
|||||||
*,
|
*,
|
||||||
owner_id: str | None = None,
|
owner_id: str | None = None,
|
||||||
limit: int = 100,
|
limit: int = 100,
|
||||||
) -> list[dict[str, Any]]: ...
|
) -> list[dict[str, Any]]:
|
||||||
|
pass
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
async def update_status(
|
async def update_status(
|
||||||
@@ -51,10 +54,12 @@ class RunStore(abc.ABC):
|
|||||||
status: str,
|
status: str,
|
||||||
*,
|
*,
|
||||||
error: str | None = None,
|
error: str | None = None,
|
||||||
) -> None: ...
|
) -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
async def delete(self, run_id: str) -> None: ...
|
async def delete(self, run_id: str) -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
async def update_run_completion(
|
async def update_run_completion(
|
||||||
@@ -73,7 +78,9 @@ class RunStore(abc.ABC):
|
|||||||
last_ai_message: str | None = None,
|
last_ai_message: str | None = None,
|
||||||
first_human_message: str | None = None,
|
first_human_message: str | None = None,
|
||||||
error: str | None = None,
|
error: str | None = None,
|
||||||
) -> None: ...
|
) -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
async def list_pending(self, *, before: str | None = None) -> list[dict[str, Any]]: ...
|
async def list_pending(self, *, before: str | None = None) -> list[dict[str, Any]]:
|
||||||
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user