Skip to content

Commit 0cc06ca

Browse files
committed
Convert iterator to list so it can be used repeatedly
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
1 parent 2c77781 commit 0cc06ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/python/feast/inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def update_entities_with_inferred_types_from_feature_views(
3232
if not (incomplete_entities_keys & set(view.entities)):
3333
continue # skip if view doesn't contain any entities that need inference
3434

35-
col_names_and_types = view.batch_source.get_table_column_names_and_types(config)
35+
col_names_and_types = list(view.batch_source.get_table_column_names_and_types(config))
3636
for entity_name in view.entities:
3737
if entity_name in incomplete_entities:
3838
entity = incomplete_entities[entity_name]

0 commit comments

Comments
 (0)