Add type hint for empty iteration inputs

This commit is contained in:
-LAN- 2025-12-17 12:58:12 +08:00
parent bd1f9bb735
commit aff9853156
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class IterationNode(LLMUsageTrackingMixin, Node[IterationNodeData]):
def _handle_empty_iteration(self, variable: ArraySegment | NoneSegment) -> Generator[NodeEventBase, None, None]:
started_at = naive_utc_now()
inputs = {"iterator_selector": []}
inputs: dict[str, object] = {"iterator_selector": []}
usage = LLMUsage.empty_usage()
yield IterationStartedEvent(