← 返回首页
fix: Locate feature_store.yaml from __file__ (#4443) · lokeshrangineni/feast@20290ce · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Commit 20290ce

Browse files
authored
fix: Locate feature_store.yaml from __file__ (feast-dev#4443)
fix: locate feature_store.yaml from __file__ Signed-off-by: Yang, Bo <bo.yang@protonbase.io>
1 parent 19cf222 commit 20290ce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎sdk/python/feast/templates/postgres/feature_repo/test_workflow.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import os.path
12
import subprocess
23
from datetime import datetime
34

@@ -8,7 +9,7 @@
89

910

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

0 commit comments

Comments
 (0)

Footer

© 2026 GitHub, Inc.