Skip to content

Commit 9dcc306

Browse files
committed
fix: clean up more unneeded cast
1 parent 9ac0cd6 commit 9dcc306

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
@@ -955,7 +955,7 @@ def __call__(self, *args: Any, **kwargs: Any) -> DataSlice[T]:
955955
def _flow_info(self) -> TransformFlowInfo:
956956
if self._lazy_flow_info is not None:
957957
return self._lazy_flow_info
958-
return cast(TransformFlowInfo, execution_context.run(self._flow_info_async()))
958+
return execution_context.run(self._flow_info_async())
959959

960960
async def _flow_info_async(self) -> TransformFlowInfo:
961961
if self._lazy_flow_info is not None:

0 commit comments

Comments
 (0)