From f4a37462579b72c15e2c515849399ea5306743ca Mon Sep 17 00:00:00 2001 From: lxcxjxhx Date: Mon, 9 Nov 2026 21:49:55 +0800 Subject: [PATCH] Python: drop a Returns section from a method that returns None `restore_from_checkpoint` is annotated `-> None` and never returns a value, so the `Returns: None on success.` block repeats the annotation. Same shape as #10168. --- python/packages/core/agent_framework/_workflows/_runner.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/packages/core/agent_framework/_workflows/_runner.py b/python/packages/core/agent_framework/_workflows/_runner.py index f41183cb1c2..bb62959b705 100644 --- a/python/packages/core/agent_framework/_workflows/_runner.py +++ b/python/packages/core/agent_framework/_workflows/_runner.py @@ -297,9 +297,6 @@ async def restore_from_checkpoint( checkpoint_storage: Optional storage to load checkpoints from when the runner context itself is not configured with checkpointing. - Returns: - None on success. - Raises: WorkflowCheckpointException on failure. """