ruff check fix

This commit is contained in:
lda
2026-07-30 01:27:46 +07:00 Verified
parent a3a4fb9250
commit 981edd3cf5
42 changed files with 155 additions and 153 deletions
+1 -1
View File
@@ -21,6 +21,7 @@ from .subgraphs import PreparedSubgraph
__all__ = [
"AsyncNodeHandler",
"NodeHandler",
"PreparedSubgraph",
"WorkflowExecutionError",
"coerce_node_result",
"complete_step",
@@ -34,5 +35,4 @@ __all__ = [
"resume_workflow_result_async",
"step_workflow",
"step_workflow_async",
"PreparedSubgraph",
]
+2 -2
View File
@@ -15,7 +15,7 @@ class BlockedOnChildren:
child_frame_ids: tuple[str, ...]
@classmethod
def from_frame(cls, frame: ExecutionFrame) -> "BlockedOnChildren | None":
def from_frame(cls, frame: ExecutionFrame) -> BlockedOnChildren | None:
raw = frame.metadata.get("blocked_on")
if raw is None:
return None
@@ -46,7 +46,7 @@ class ForeachIterationMetadata:
loop_alias: str
@classmethod
def from_frame(cls, frame: ExecutionFrame) -> "ForeachIterationMetadata | None":
def from_frame(cls, frame: ExecutionFrame) -> ForeachIterationMetadata | None:
if frame.kind != "foreach_iteration":
return None
metadata = frame.metadata