Skip to content

Commit

Permalink
bytewax materialization loads yaml config correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
marti-jorda-roca committed Jan 29, 2024
1 parent ea8ad17 commit 789f42a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
logging.basicConfig(level=logging.INFO)

with open("/var/feast/feature_store.yaml") as f:
feast_config = yaml.safe_load(f)
feast_config = yaml.load(f, Loader=yaml.Loader)

with open("/var/feast/bytewax_materialization_config.yaml") as b:
bytewax_config = yaml.safe_load(b)
bytewax_config = yaml.load(b, Loader=yaml.Loader)

config = RepoConfig(**feast_config)
store = FeatureStore(config=config)
Expand Down

0 comments on commit 789f42a

Please sign in to comment.