Skip to content

Commit

Permalink
fix: explicitly add project to fv.spec in search projects
Browse files Browse the repository at this point in the history
  • Loading branch information
zabarn committed Sep 25, 2024
1 parent 8d4e105 commit e6b2e97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/python/feast/infra/registry/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,8 @@ def expedia_search_projects(
feature_view_proto = FeatureViewProto.FromString(
row._mapping["feature_view_proto"]
)
# for some reason, project is not set in the proto, so we set it here
feature_view_proto.spec.project = project_id

if project_id not in feature_views_by_project:
feature_views_by_project[project_id] = []
Expand Down

0 comments on commit e6b2e97

Please sign in to comment.