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 committed Oct 28, 2021
1 parent 2711e53 commit a6d4fa9
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 a6d4fa9

Please sign in to comment.