Skip to content

Commit 973f1c5

Browse files
Fix bug in feast alpha enable CLI command (feast-dev#1940)
* Fix bug in feast alpha enable CLI command Signed-off-by: Felix Wang <[email protected]> * Lint Signed-off-by: Felix Wang <[email protected]>
1 parent e8a1519 commit 973f1c5

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

sdk/python/feast/repo_config.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,7 @@ def write_to_path(self, repo_path: Path):
277277
config_path = repo_path / "feature_store.yaml"
278278
with open(config_path, mode="w") as f:
279279
yaml.dump(
280-
yaml.safe_load(
281-
self.json(
282-
exclude={"repo_path"},
283-
exclude_none=True,
284-
exclude_unset=True,
285-
exclude_defaults=True,
286-
)
287-
),
280+
yaml.safe_load(self.json(exclude={"repo_path"}, exclude_unset=True,)),
288281
f,
289282
sort_keys=False,
290283
)

0 commit comments

Comments
 (0)