Skip to content

docs: Correct imports in the shipped skills that do not resolve - #7241

Open
VenishPaneliya wants to merge 1 commit into
feast-dev:masterfrom
VenishPaneliya:docs-skills-imports
Open

VenishPaneliya wants to merge 1 commit into
feast-dev:masterfrom
VenishPaneliya:docs-skills-imports

Conversation

@VenishPaneliya

@VenishPaneliya VenishPaneliya commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

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__.py exports the OnDemandFeatureView class, not the decorator, so this raises ImportError. The rest of the docs already use from 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 is feast.infra.offline_stores.bigquery_source and feast re-exports the class, so this raises ModuleNotFoundError. Switched to from feast import BigQuerySource, matching from feast import FileSource a few lines above.

Docs only, no code touched.

Checks:

  • I've made sure the linter is passing — no Python files changed.
  • I've made sure the tests are passing — not applicable; markdown only, and the SDK suite isn't runnable in my environment.

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 asserts feast really does export OnDemandFeatureView and BigQuerySource and that the decorator really does live in feast.on_demand_feature_view, so it can't pass vacuously.

docs/adr/ADR-0003-on-demand-transformations.md has 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.


Devin Review

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>

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@codecov-commenter

codecov-commenter commented Nov 26, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.10%. Comparing base (a291a0f) to head (afc4fec).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           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           
Flag Coverage Δ
go-feature-server 30.96% <ø> (ø)
python-unit 55.70% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a291a0f...afc4fec. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants