Skip to content

Commit

Permalink
Fix bug in feast alpha enable CLI command (#1940)
Browse files Browse the repository at this point in the history
* Fix bug in feast alpha enable CLI command

Signed-off-by: Felix Wang <wangfelix98@gmail.com>

* Lint

Signed-off-by: Felix Wang <wangfelix98@gmail.com>
  • Loading branch information
felixwang9817 authored Oct 14, 2021
1 parent e8a1519 commit 973f1c5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions sdk/python/feast/repo_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,7 @@ def write_to_path(self, repo_path: Path):
config_path = repo_path / "feature_store.yaml"
with open(config_path, mode="w") as f:
yaml.dump(
yaml.safe_load(
self.json(
exclude={"repo_path"},
exclude_none=True,
exclude_unset=True,
exclude_defaults=True,
)
),
yaml.safe_load(self.json(exclude={"repo_path"}, exclude_unset=True,)),
f,
sort_keys=False,
)
Expand Down

0 comments on commit 973f1c5

Please sign in to comment.