Skip to content

Commit

Permalink
fix: Locate feature_store.yaml from __file__ (feast-dev#4443)
Browse files Browse the repository at this point in the history
fix: locate feature_store.yaml from __file__

Signed-off-by: Yang, Bo <bo.yang@protonbase.io>
  • Loading branch information
Atry authored Aug 25, 2024
1 parent 19cf222 commit 20290ce
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 20290ce

Please sign in to comment.