ruff check fix
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user