Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Satisfy flink feature builder typing
Signed-off-by: Le Xuan An <anlx@viettel.com.vn>
  • Loading branch information
XuananLe authored and Le Xuan An committed Jun 7, 2026
commit 37accc60b0566681b8db667a56fc482ec49f210d
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _should_join_entity_df(self) -> bool:

def _build(self, view: Any, input_nodes: list[DAGNode] | None) -> DAGNode:
if view.data_source:
last_node = self.build_source_node(view)
last_node: DAGNode = self.build_source_node(view)

if self._should_transform(view):
last_node = self.build_transformation_node(view, [last_node])
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/feast/infra/compute_engines/flink/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import pandas as pd
import pyarrow as pa

from feast import BatchFeatureView, StreamFeatureView
from feast import BatchFeatureView, FeatureView, StreamFeatureView
from feast.aggregation import Aggregation, aggregation_specs_to_agg_ops
from feast.data_source import DataSource
from feast.infra.compute_engines.dag.context import ColumnInfo, ExecutionContext
Expand Down Expand Up @@ -697,7 +697,7 @@ class FlinkOutputNode(DAGNode):
def __init__(
self,
name: str,
feature_view: Union[BatchFeatureView, StreamFeatureView],
feature_view: Union[BatchFeatureView, FeatureView, StreamFeatureView],
table_env: Any,
split_num: int,
write_output: bool,
Expand Down
Loading