Skip to content

docs: Import LoggingConfig from feast.feature_logging - #6991

Merged
shuchu merged 4 commits into
feast-dev:masterfrom
shaikn6:fix-logging-config-import
Nov 10, 2026
Merged

shuchu merged 4 commits into
feast-dev:masterfrom
shaikn6:fix-logging-config-import

Conversation

@shaikn6

@shaikn6 shaikn6 commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

The feature-monitoring how-to imports LoggingConfig from the top-level package:

from feast import FeatureService, LoggingConfig

feast does not export LoggingConfig (on the latest release or on master), so the sample raises ImportError: cannot import name 'LoggingConfig' from 'feast'. It lives in feast.feature_logging; the sample now imports it from there and keeps FeatureService on the top-level import.

Which issue(s) this PR fixes:

None filed; found by running the docs' import lines against the released package.

Checks

  • I've made sure the tests are passing.
  • My commits are signed off (git commit -s)
  • My PR title follows conventional commits format

Testing Strategy

  • Manual tests: from feast.feature_logging import LoggingConfig imports cleanly; the original line raises. Docs-only change.

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
@shaikn6
shaikn6 requested a review from a team as a code owner October 10, 2026 17:14
Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
@shaikn6

shaikn6 commented Oct 10, 2026

Copy link
Copy Markdown
Contributor Author

Added a second (signed-off) commit fixing renamed arguments in four more samples: BigQuerySource(table_ref=...) and SavedDatasetBigQueryStorage(table_ref=...) → table=, and RedshiftSource(event_timestamp_column=...) → timestamp_field=. Checked against the current signatures in bigquery_source.py / redshift_source.py.

@shaikn6 shaikn6 changed the title docs: import LoggingConfig from feast.feature_logging docs: Import LoggingConfig from feast.feature_logging Oct 11, 2026
…g-import

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>

@shuchu shuchu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@shuchu
shuchu merged commit f216396 into feast-dev:master Nov 10, 2026
16 of 17 checks passed
shuchu added a commit to shuchu/feast that referenced this pull request Nov 11, 2026
* docs: import LoggingConfig from feast.feature_logging

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>

* docs: use table and timestamp_field in BigQuery/Redshift samples

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>

---------

Signed-off-by: Nagizaaz Shaik <176337212+shaikn6@users.noreply.github.com>
Co-authored-by: Shuchu Han <shuchu.han@gmail.com>
Signed-off-by: Shuchu Han <shuchu.han@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants