Skip to content

Commit 3d6ee02

Browse files
committed
fix: specify type for input_data_slices in TransientFlowWrapper
1 parent 16f2dca commit 3d6ee02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cocoindex/flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ async def evaluate_async(self, **input_values: Any) -> Any:
10331033
flow_builder_state = _FlowBuilderState(flow_full_name)
10341034

10351035
# Add direct inputs for each input value and collect the data slices
1036-
input_data_slices = {}
1036+
input_data_slices: dict[str, DataSlice[Any]] = {}
10371037
for key, value in input_values.items():
10381038
encoded_type = encode_enriched_type(type(value))
10391039
if encoded_type is None:

0 commit comments

Comments
 (0)