Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Add --chdir to test_workflow.py
Signed-off-by: Yang, Bo <bo.yang@protonbase.io>
  • Loading branch information
Atry committed Aug 26, 2024
commit 0fa0c19c3fe02b8ac2ac44a82eb1a84d20c56b1c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
def run_demo():
store = FeatureStore(repo_path=os.path.dirname(__file__))
print("\n--- Run feast apply to setup feature store on Postgres ---")
subprocess.run(["feast", "apply"])
subprocess.run(["feast", "--chdir", os.path.dirname(__file__), "apply"])

print("\n--- Historical features for training ---")
fetch_historical_features_entity_df(store, for_batch_scoring=False)
Expand Down Expand Up @@ -55,7 +55,7 @@ def run_demo():
fetch_online_features(store, source="push")

print("\n--- Run feast teardown ---")
subprocess.run(["feast", "teardown"])
subprocess.run(["feast", "--chdir", os.path.dirname(__file__), "teardown"])


def fetch_historical_features_entity_df(store: FeatureStore, for_batch_scoring: bool):
Expand Down