René's URL Explorer Experiment


Title: fix: Reject undefined features when using `get_historical_features` or `get_online_features` by chhabrakadabra · Pull Request #2665 · feast-dev/feast · GitHub

Open Graph Title: fix: Reject undefined features when using `get_historical_features` or `get_online_features` by chhabrakadabra · Pull Request #2665 · feast-dev/feast

X Title: fix: Reject undefined features when using `get_historical_features` or `get_online_features` by chhabrakadabra · Pull Request #2665 · feast-dev/feast

Description: Signed-off-by: Abhin Chhabra abhin.chhabra@shopify.com What this PR does / why we need it: Increase the scope of validations provided by _group_feature_refs to also check if the features are part of the feature view. It also adds a get_feature method to the FeatureViewProjection class that could be useful in other cases too. In the event of an invalid feature being requested, a KeyError is raised, which is consistent with the existing behaviour when completely non-existent features are requested in get_historical_features. Which issue(s) this PR fixes: Fixes #2576

Open Graph Description: Signed-off-by: Abhin Chhabra abhin.chhabra@shopify.com What this PR does / why we need it: Increase the scope of validations provided by _group_feature_refs to also check if the features are part ...

X Description: Signed-off-by: Abhin Chhabra abhin.chhabra@shopify.com What this PR does / why we need it: Increase the scope of validations provided by _group_feature_refs to also check if the features are part ...

Opengraph URL: https://github.com/feast-dev/feast/pull/2665

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bb9871ff-9195-cad5-946d-8980d6688a15
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB766:3BE04B:6D9FBB0:958F78C:69786ED0
html-safe-nonce553c7903bcfe3813c5536a0ab47ce71bca5a301cb1c49cd5459ad7dd60ea9c4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzY2OjNCRTA0Qjo2RDlGQkIwOjk1OEY3OEM6Njk3ODZFRDAiLCJ2aXNpdG9yX2lkIjoiMjMxNjQ5NDc3ODk4NTM3NzQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace31f83c6b5e66f1a497032bef6a53dfbb8c4b71e787eed1525590c9043df524c
hovercard-subject-tagpull_request:933687461
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/2665/files
twitter:imagehttps://avatars.githubusercontent.com/u/773452?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/773452?s=400&v=4
og:image:altSigned-off-by: Abhin Chhabra abhin.chhabra@shopify.com What this PR does / why we need it: Increase the scope of validations provided by _group_feature_refs to also check if the features are part ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2981c597c945c1d90ac6fa355ce7929b2f413dfe7872ca5c435ee53a24a1de50
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release520b65a872113b919c1bbdb03834a50af15859fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/2665/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F2665%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F2665%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/2665/files
Reloadhttps://github.com/feast-dev/feast/pull/2665/files
Reloadhttps://github.com/feast-dev/feast/pull/2665/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 182 https://github.com/feast-dev/feast/issues
Pull requests 66 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
feast-ci-bothttps://github.com/feast-ci-bot
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
chhabrakadabra:restrict-undefined-featureshttps://github.com/chhabrakadabra/feast/tree/restrict-undefined-features
Conversation 5 https://github.com/feast-dev/feast/pull/2665
Commits 1 https://github.com/feast-dev/feast/pull/2665/commits
Checks 0 https://github.com/feast-dev/feast/pull/2665/checks
Files changed https://github.com/feast-dev/feast/pull/2665/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/2665/files
fix: Reject undefined features when using get_historical_features or get_online_features https://github.com/feast-dev/feast/pull/2665/files#top
Show all changes 1 commit https://github.com/feast-dev/feast/pull/2665/files
3530280 Fixes #2576 chhabrakadabra May 10, 2022 https://github.com/feast-dev/feast/pull/2665/commits/353028062e16ebb4038f04b10ee9dea824cde7ae
Clear filters https://github.com/feast-dev/feast/pull/2665/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/2665/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/2665/files
feature_store.py https://github.com/feast-dev/feast/pull/2665/files#diff-ff4e2a65c8c29b7971edc77a61a7e970d410d77d9f173f72714d1bb49e2509a2
feature_view_projection.py https://github.com/feast-dev/feast/pull/2665/files#diff-2bd41ff413420d157db62fb56c8b41893b00dec4dbdd408136ada26cbb39132a
test_universal_historical_retrieval.py https://github.com/feast-dev/feast/pull/2665/files#diff-3bb5de0560a06ec0e2cc747437f20195a574512498e0e628382bf74134e8542b
test_universal_online.py https://github.com/feast-dev/feast/pull/2665/files#diff-4f3e62ecf7f09cabe95c2e4536bab2ac159c0a64967dabe46517f423d6a49923
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/feature_store.pyhttps://github.com/feast-dev/feast/pull/2665/files#diff-ff4e2a65c8c29b7971edc77a61a7e970d410d77d9f173f72714d1bb49e2509a2
View file https://github.com/chhabrakadabra/feast/blob/353028062e16ebb4038f04b10ee9dea824cde7ae/sdk/python/feast/feature_store.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/2665/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/2665/files#diff-ff4e2a65c8c29b7971edc77a61a7e970d410d77d9f173f72714d1bb49e2509a2
https://github.com/feast-dev/feast/pull/2665/files#diff-ff4e2a65c8c29b7971edc77a61a7e970d410d77d9f173f72714d1bb49e2509a2
https://github.com/feast-dev/feast/pull/2665/files#diff-ff4e2a65c8c29b7971edc77a61a7e970d410d77d9f173f72714d1bb49e2509a2
https://github.com/feast-dev/feast/pull/2665/files#diff-ff4e2a65c8c29b7971edc77a61a7e970d410d77d9f173f72714d1bb49e2509a2
https://github.com/feast-dev/feast/pull/2665/files#diff-ff4e2a65c8c29b7971edc77a61a7e970d410d77d9f173f72714d1bb49e2509a2
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/feast/feature_view_projection.pyhttps://github.com/feast-dev/feast/pull/2665/files#diff-2bd41ff413420d157db62fb56c8b41893b00dec4dbdd408136ada26cbb39132a
View file https://github.com/chhabrakadabra/feast/blob/353028062e16ebb4038f04b10ee9dea824cde7ae/sdk/python/feast/feature_view_projection.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/2665/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/2665/files#diff-2bd41ff413420d157db62fb56c8b41893b00dec4dbdd408136ada26cbb39132a
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/tests/integration/offline_store/test_universal_historical_retrieval.pyhttps://github.com/feast-dev/feast/pull/2665/files#diff-3bb5de0560a06ec0e2cc747437f20195a574512498e0e628382bf74134e8542b
View file https://github.com/chhabrakadabra/feast/blob/353028062e16ebb4038f04b10ee9dea824cde7ae/sdk/python/tests/integration/offline_store/test_universal_historical_retrieval.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/2665/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/2665/files#diff-3bb5de0560a06ec0e2cc747437f20195a574512498e0e628382bf74134e8542b
https://github.com/feast-dev/feast/pull/2665/files#diff-3bb5de0560a06ec0e2cc747437f20195a574512498e0e628382bf74134e8542b
https://github.com/feast-dev/feast/pull/2665/files#diff-3bb5de0560a06ec0e2cc747437f20195a574512498e0e628382bf74134e8542b
https://github.com/feast-dev/feast/pull/2665/files#diff-3bb5de0560a06ec0e2cc747437f20195a574512498e0e628382bf74134e8542b
https://github.com/feast-dev/feast/blob/master/CODEOWNERS#L10
sdk/python/tests/integration/online_store/test_universal_online.pyhttps://github.com/feast-dev/feast/pull/2665/files#diff-4f3e62ecf7f09cabe95c2e4536bab2ac159c0a64967dabe46517f423d6a49923
View file https://github.com/chhabrakadabra/feast/blob/353028062e16ebb4038f04b10ee9dea824cde7ae/sdk/python/tests/integration/online_store/test_universal_online.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/2665/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/2665/files#diff-4f3e62ecf7f09cabe95c2e4536bab2ac159c0a64967dabe46517f423d6a49923
https://github.com/feast-dev/feast/pull/2665/files#diff-4f3e62ecf7f09cabe95c2e4536bab2ac159c0a64967dabe46517f423d6a49923
https://github.com/feast-dev/feast/pull/2665/files#diff-4f3e62ecf7f09cabe95c2e4536bab2ac159c0a64967dabe46517f423d6a49923
https://github.com/feast-dev/feast/pull/2665/files#diff-4f3e62ecf7f09cabe95c2e4536bab2ac159c0a64967dabe46517f423d6a49923
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.