Title: Could not import module 'hybrid_online_store' · Issue #5630 · feast-dev/feast · GitHub
Open Graph Title: Could not import module 'hybrid_online_store' · Issue #5630 · feast-dev/feast
X Title: Could not import module 'hybrid_online_store' · Issue #5630 · feast-dev/feast
Description: Expected Behavior Import hybrid_online_store module correctly, according to this documentation: https://github.com/feast-dev/feast/blob/master/docs/reference/online-stores/hybrid.md. Current Behavior Could not import module 'hybrid_onlin...
Open Graph Description: Expected Behavior Import hybrid_online_store module correctly, according to this documentation: https://github.com/feast-dev/feast/blob/master/docs/reference/online-stores/hybrid.md. Current Behavi...
X Description: Expected Behavior Import hybrid_online_store module correctly, according to this documentation: https://github.com/feast-dev/feast/blob/master/docs/reference/online-stores/hybrid.md. Current Behavi...
Opengraph URL: https://github.com/feast-dev/feast/issues/5630
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Could not import module 'hybrid_online_store'","articleBody":"## Expected Behavior \n\nImport hybrid_online_store module correctly, according to this documentation: https://github.com/feast-dev/feast/blob/master/docs/reference/online-stores/hybrid.md.\n\n## Current Behavior\nCould not import module 'hybrid_online_store'\n\n## Steps to reproduce\n\nUse the following RepoConfig:\n\n```\nrepo_config = RepoConfig(\n **{\n \"project\": \"prod\",\n \"registry\": {\n \"registry_type\": \"sql\",\n \"path\": os.getenv(\"DATABASE_URL\"),\n \"cache_ttl_seconds\": 0,\n \"sqlalchemy_config_kwargs\": {\n \"max_overflow\": 50,\n \"pool_size\": 5,\n \"pool_recycle\": 3600,\n },\n },\n \"provider\": \"aws\",\n \"entity_key_serialization_version\": 3,\n \"online_store\": {\n \"type\": \"hybrid_online_store.HybridOnlineStore\",\n \"routing_tag\": \"store\",\n \"online_stores\": [\n {\n \"type\": \"dynamodb\",\n \"conf\": {\n \"region\": \"us-east-1\",\n \"max_pool_connections\": 50,\n \"connect_timeout\": 5,\n \"read_timeout\": 10,\n \"total_max_retry_attempts\": 2\n }\n },\n {\n \"type\": \"redis\",\n \"conf\": {\n \"connection_string\": os.getenv(\"REDIS_URL\")\n }\n }\n ],\n },\n }\n)\n\n```\n\n### Specifications\n\n- Version: 0.53.0\n- Platform: macOs 14.6.1\n- Subsystem: Python 3.12\n\n## Possible Solution\n\nUse the following config:\n\n```\nrepo_config = RepoConfig(\n **{\n \"project\": \"prod\",\n \"registry\": {\n \"registry_type\": \"sql\",\n \"path\": os.getenv(\"DATABASE_URL\"),\n \"cache_ttl_seconds\": 0,\n \"sqlalchemy_config_kwargs\": {\n \"max_overflow\": 50,\n \"pool_size\": 5,\n \"pool_recycle\": 3600,\n },\n },\n \"provider\": \"aws\",\n \"entity_key_serialization_version\": 3,\n \"online_store\": {\n \"type\": \"feast.infra.online_stores.hybrid_online_store.hybrid_online_store.HybridOnlineStore\",\n \"routing_tag\": \"store\",\n \"online_stores\": [\n {\n \"type\": \"dynamodb\",\n \"conf\": {\n \"region\": \"us-east-1\",\n \"max_pool_connections\": 50,\n \"connect_timeout\": 5,\n \"read_timeout\": 10,\n \"total_max_retry_attempts\": 2\n }\n },\n {\n \"type\": \"redis\",\n \"conf\": {\n \"connection_string\": os.getenv(\"REDIS_URL\")\n }\n }\n ],\n },\n }\n)\n```\n\nAlso, it's necessary to change the type attribute in `hybrid_online_store.py` (https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/hybrid_online_store/hybrid_online_store.py) from:\n\n```\n type: Literal[\"HybridOnlineStore\", \"hybrid_online_store.HybridOnlineStore\"] = (\n \"hybrid_online_store.HybridOnlineStore\"\n )\n```\n\nTo:\n\n```\n type: Literal[\"HybridOnlineStore\", \"feast.infra.online_stores.hybrid_online_store.hybrid_online_store.HybridOnlineStore\"] = (\n \"hybrid_online_store.HybridOnlineStore\"\n )\n```","author":{"url":"https://github.com/fcas","@type":"Person","name":"fcas"},"datePublished":"2025-09-24T17:05:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5630/feast/issues/5630"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:508baa1f-1786-c252-c73a-cdeeb77b36ca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9748:AAACB:6E1E01:944BFD:696E7BE3 |
| html-safe-nonce | 85920bf90dcd2e880d5f4e41acc4b7e65ea88b71ce8cb19dc7f0d0a624430af0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzQ4OkFBQUNCOjZFMUUwMTo5NDRCRkQ6Njk2RTdCRTMiLCJ2aXNpdG9yX2lkIjoiMzk0NjA3Mjc1NDgyOTAzMjQxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cccd7a9f545b673a56218c8be4120dae2d1ac2b94dd04aff3bc52cd86a9c478f |
| hovercard-subject-tag | issue:3450229536 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/5630/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0382d1b36e631db1a1239df8a0a7c840b3b4b8b5c53dfa211f1be5cc233e9732/feast-dev/feast/issues/5630 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0382d1b36e631db1a1239df8a0a7c840b3b4b8b5c53dfa211f1be5cc233e9732/feast-dev/feast/issues/5630 |
| og:image:alt | Expected Behavior Import hybrid_online_store module correctly, according to this documentation: https://github.com/feast-dev/feast/blob/master/docs/reference/online-stores/hybrid.md. Current Behavi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | fcas |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width