Skip to content

Commit 3aca976

Browse files
committed
made error logic/messages more descriptive.
Signed-off-by: Mwad22 <51929507+Mwad22@users.noreply.github.com>
1 parent 082fca7 commit 3aca976

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎sdk/python/feast/feature_store.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,8 @@ def _entity_row_to_field_values(
616616
def _validate_feature_refs(feature_refs: List[str], full_feature_names: bool = False):
617617
if full_feature_names:
618618
collided_feature_refs = [
619-
ref for ref, occurrences in Counter(feature_refs).items() if occurrences > 1]
619+
ref for ref, occurrences in Counter(feature_refs).items() if occurrences > 1
620+
]
620621
if len(collided_feature_refs) > 0:
621622
raise FeatureNameCollisionError(collided_feature_refs)
622623
else:

0 commit comments

Comments
 (0)