Skip to content

Commit

Permalink
fix: locate feature_store.yaml from __file__
Browse files Browse the repository at this point in the history
Signed-off-by: Yang, Bo <[email protected]>
  • Loading branch information
Atry committed Aug 24, 2024
1 parent 2ba93f6 commit efbb6ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import os.path
import subprocess
from datetime import datetime

Expand All @@ -8,7 +9,7 @@


def run_demo():
store = FeatureStore(repo_path=".")
store = FeatureStore(repo_path=os.path.dirname(__file__))
print("\n--- Run feast apply to setup feature store on Postgres ---")
subprocess.run(["feast", "apply"])

Expand Down

0 comments on commit efbb6ed

Please sign in to comment.