Skip to content

Commit

Permalink
Dynamic import for passthru
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Shah <achals@gmail.com>
  • Loading branch information
achals committed Sep 17, 2021
1 parent 71b21bd commit 99ec0e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/feast/infra/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ def get_provider(config: RepoConfig, repo_path: Path) -> Provider:
if "." not in config.provider:
if config.provider in {"gcp", "aws", "local"}:
from feast.infra.passthrough_provider import PassthroughProvider

return PassthroughProvider(config)
else:
raise errors.FeastProviderNotImplementedError(config.provider)
Expand Down

0 comments on commit 99ec0e2

Please sign in to comment.