Visitar URL original
feat: Add feature view versioning support to Redis and DynamoDB online stores by YassinNouh21 · Pull Request #6257 · feast-dev/feast · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Catch Exception instead of ImportError for Redis/DynamoDB in ver…
…sioning gate

Redis and DynamoDB modules raise FeastExtrasDependencyImportError (not
ImportError) when their dependencies are missing. Use broad Exception
catch so environments without redis/boto3 don't break.

Signed-off-by: yassinnouh21 <yassinnouh21@gmail.com>
  • Loading branch information
YassinNouh21 committed Apr 11, 2026
commit 3f2c2ba9f6811a270eea42ee27b9796741a913e6
4 changes: 2 additions & 2 deletions sdk/python/feast/infra/online_stores/online_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,13 @@ def _check_versioned_read_support(self, grouped_refs):
from feast.infra.online_stores.redis import RedisOnlineStore

supported_types.append(RedisOnlineStore)
except ImportError:
except Exception:
pass
try:
from feast.infra.online_stores.dynamodb import DynamoDBOnlineStore

supported_types.append(DynamoDBOnlineStore)
except ImportError:
except Exception:
pass

if isinstance(self, tuple(supported_types)):
Expand Down
Loading