Repository navigation
docs: Correct imports in the shipped skills that do not resolve - #7241
Open
VenishPaneliya wants to merge 1 commit into
Open
VenishPaneliya wants to merge 1 commit into
VenishPaneliya wants to merge 1 commit into
Conversation
feast/__init__.py exports the OnDemandFeatureView class, not the on_demand_feature_view decorator, so the skill snippets raise ImportError. BigQuerySource lives in feast.infra.offline_stores.bigquery_source, not under contrib.bigquery_offline_store, so that import raises ModuleNotFoundError. Use the paths the rest of the docs already use. Signed-off-by: VenishPaneliya <141703684+VenishPaneliya@users.noreply.github.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7241 +/- ##
=======================================
Coverage 54.10% 54.10%
=======================================
Files 467 467
Lines 58940 58940
Branches 8688 8688
=======================================
Hits 31890 31890
Misses 24892 24892
Partials 2158 2158
Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
franciscojavierarceo
approved these changes
Nov 26, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three imports in the shipped
skills/docs don't resolve:from feast import on_demand_feature_view(skills/SKILL.md,skills/feast-user-guide/SKILL.md) —feast/__init__.pyexports theOnDemandFeatureViewclass, not the decorator, so this raisesImportError. The rest of the docs already usefrom feast.on_demand_feature_view import on_demand_feature_view.from feast.infra.offline_stores.contrib.bigquery_offline_store.bigquery_source import BigQuerySource(skills/references/feature-definitions.md) — BigQuery isn't a contrib store; the module isfeast.infra.offline_stores.bigquery_sourceandfeastre-exports the class, so this raisesModuleNotFoundError. Switched tofrom feast import BigQuerySource, matchingfrom feast import FileSourcea few lines above.Docs only, no code touched.
Checks:
Resolving each documented
from feast...import in those three files against the real package tree gives 3 failures before and 0 after, out of 72 imports checked. The check also assertsfeastreally does exportOnDemandFeatureViewandBigQuerySourceand that the decorator really does live infeast.on_demand_feature_view, so it can't pass vacuously.docs/adr/ADR-0003-on-demand-transformations.mdhas the same bad decorator import, but I left the ADR alone as a record of its decision — happy to include it if you'd rather it ran.