René's URL Explorer Experiment


Title: Performing I/O on instantiation · Issue #2697 · feast-dev/feast · GitHub

Open Graph Title: Performing I/O on instantiation · Issue #2697 · feast-dev/feast

X Title: Performing I/O on instantiation · Issue #2697 · feast-dev/feast

Description: Expected Behavior FeatureStore didn't use to perform any I/O on instantiation. This should be the expected behavior. As far as I can tell, all other abstractions follow this convention. Some examples include all implementations of Provid...

Open Graph Description: Expected Behavior FeatureStore didn't use to perform any I/O on instantiation. This should be the expected behavior. As far as I can tell, all other abstractions follow this convention. Some exampl...

X Description: Expected Behavior FeatureStore didn't use to perform any I/O on instantiation. This should be the expected behavior. As far as I can tell, all other abstractions follow this convention. Some ex...

Opengraph URL: https://github.com/feast-dev/feast/issues/2697

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Performing I/O on instantiation ","articleBody":"## Expected Behavior \r\n`FeatureStore` didn't use to perform any I/O on instantiation. This should be the expected behavior. As far as I can tell, all other abstractions follow this convention. Some examples include all implementations of `Provider`, `DataSource`, `RegistryStore`, `InfraObject`, and `RetrievalJob`.\r\n\r\nThis is also consistent with other python APIs such as Amazon's [boto3](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html)\r\n```python\r\ns3 = boto3.client('s3')                         # no I/O; doesn't try to read credentials from config file on disk; etc\r\ns3.list_buckets()                               # explicit I/O operation\r\nbucket_policy = s3.BucketPolicy('bucket_name')  # no I/O; doesn't verify if bucket exists\r\nbucket_policy.load()                            # explicit I/O operation\r\n```\r\n\r\nHowever this is not consistent across the [PEP 249](https://peps.python.org/pep-0249/) implementations. Trino doesn't perform any I/O. However, by default, the BigQuery SDK tries to load a credentials file from disk, the psycopg2 library tries to establish a valid connection, and sqlite3 will try to create or open a file database.\r\n\r\n## Current Behavior\r\n#2256 introduced the `self._registry._initialize_registry()` line to `FeatureStore`'s `__init__` method. This tries to fetch the registry's proto from the registry and fails if this does not exist or if the remote registry is not accessible from the current environment.\r\n\r\n## Steps to reproduce\r\n\r\n```pycon\r\n>>> store = FeatureStore(\r\n...     config=RepoConfig(\r\n...         project=\"foo\",\r\n...         provider=\"local\",\r\n...         registry=\"s3://my-bucket/registry.db\",\r\n...     )\r\n... )\r\n[...]\r\n  File \".venv/lib/python3.9/site-packages/botocore/signers.py\", line 103, in handler\r\n    return self.sign(operation_name, request)\r\n  File \".venv/lib/python3.9/site-packages/botocore/signers.py\", line 187, in sign\r\n    auth.add_auth(request)\r\n  File \".venv/lib/python3.9/site-packages/botocore/auth.py\", line 405, in add_auth\r\n    raise NoCredentialsError()\r\nbotocore.exceptions.NoCredentialsError: Unable to locate credentials\r\n```\r\n\r\n### Specifications\r\n\r\n- Version: 0.20.2\r\n- Platform: macOS\r\n- Subsystem: \r\n\r\n## Possible Solution\r\n\r\nLazy load the registry's proto. I think this can be achieved by removing `self._registry._initialize_registry()` from the `__init__` method. Maybe @adchia @felixwang9817 can provide more context here. Also, interested in hearing your take on this.\r\n","author":{"url":"https://github.com/tpvasconcelos","@type":"Person","name":"tpvasconcelos"},"datePublished":"2022-05-15T22:36:19Z","url":"https://github.com/feast-dev/feast/issues/2697"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:54fa8401-40d8-e3ef-b403-e0d96935438b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB880:178215:735D8E:9B908D:6AFEABC7
html-safe-nonceb1f2f2bbf2d16106047592a38623f9f68b0613a2b77cc1ebc501d4f10eb27de2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODgwOjE3ODIxNTo3MzVEOEU6OUI5MDhEOjZBRkVBQkM3IiwidmlzaXRvcl9pZCI6IjgyMDUxNjkwODUyOTQ0ODg1MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac5dda0362454b62f4fe1b510a9e8611e59efc502ac0dfa682744dc4741771c0b3
hovercard-subject-tagissue:1236444153
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/2697/issue_layout
twitter:imagehttps://opengraph.githubassets.com/16925049953696ce67184f48eb32b54c6c12fd6a52daaa2f06fd64bdda4409ae/feast-dev/feast/issues/2697
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/16925049953696ce67184f48eb32b54c6c12fd6a52daaa2f06fd64bdda4409ae/feast-dev/feast/issues/2697
og:image:altExpected Behavior FeatureStore didn't use to perform any I/O on instantiation. This should be the expected behavior. As far as I can tell, all other abstractions follow this convention. Some exampl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametpvasconcelos
hostnamegithub.com
expected-hostnamegithub.com
None95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3f25273206cd841171bca0002261ae4c9757d934
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/2697#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2697
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F2697
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/2697
Reloadhttps://github.com/feast-dev/feast/issues/2697
Reloadhttps://github.com/feast-dev/feast/issues/2697
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2697
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2697
Performing I/O on instantiation https://github.com/feast-dev/feast/issues/2697#top
https://github.com/felixwang9817
criticalhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22critical%22
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com/tpvasconcelos
tpvasconceloshttps://github.com/tpvasconcelos
on May 15, 2022https://github.com/feast-dev/feast/issues/2697#issue-1236444153
boto3https://boto3.amazonaws.com/v1/documentation/api/latest/index.html
PEP 249https://peps.python.org/pep-0249/
#2256https://github.com/feast-dev/feast/pull/2256
@adchiahttps://github.com/adchia
@felixwang9817https://github.com/felixwang9817
tpvasconceloshttps://github.com/tpvasconcelos
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
on May 15, 2022https://github.com/feast-dev/feast/issues/2697#event-6612032469
tpvasconceloshttps://github.com/tpvasconcelos
on May 15, 2022https://github.com/feast-dev/feast/issues/2697#event-6612032846
tpvasconceloshttps://github.com/tpvasconcelos
on May 15, 2022https://github.com/feast-dev/feast/issues/2697#event-6612032964
https://github.com/achals
achalshttps://github.com/achals
on May 16, 2022https://github.com/feast-dev/feast/issues/2697#issuecomment-1127890999
#2256https://github.com/feast-dev/feast/pull/2256
@felixwang9817https://github.com/felixwang9817
achalshttps://github.com/achals
felixwang9817https://github.com/felixwang9817
on May 16, 2022https://github.com/feast-dev/feast/issues/2697#event-6617728874
https://github.com/felixwang9817
felixwang9817https://github.com/felixwang9817
on May 19, 2022https://github.com/feast-dev/feast/issues/2697#issuecomment-1132106810
#2256https://github.com/feast-dev/feast/pull/2256
kevjumbahttps://github.com/kevjumba
criticalhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22critical%22
on Aug 3, 2022https://github.com/feast-dev/feast/issues/2697#event-7123006380
https://github.com/apps/stale
stalehttps://github.com/apps/stale
on Dec 16, 2022https://github.com/feast-dev/feast/issues/2697#issuecomment-1354146921
stalehttps://github.com/apps/stale
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
on Dec 16, 2022https://github.com/feast-dev/feast/issues/2697#event-8053006493
stalehttps://github.com/apps/stale
completedhttps://github.com/feast-dev/feast/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 31, 2022https://github.com/feast-dev/feast/issues/2697#event-8133124492
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/2697
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/2697
felixwang9817https://github.com/felixwang9817
criticalhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22critical%22
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
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.