Skip to content

Commit

Permalink
check for forward attr
Browse files Browse the repository at this point in the history
  • Loading branch information
Yifei Wang authored and Yifei Wang committed Nov 25, 2023
1 parent 3924d48 commit c00b0f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evadb/models/storage/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def apply_function_expression(self, expr: Callable) -> Batch:
if (
hasattr(expr, "forward")
and hasattr(expr.forward, "tags")
and (len(expr.forward.tags['input']) == 0)
and (len(expr.forward.tags["input"]) != 0)
):
input_tags = expr.forward.tags["input"][0]
output_tags = expr.forward.tags["output"][0]
Expand Down

0 comments on commit c00b0f3

Please sign in to comment.