MCPcopy
hub / github.com/feast-dev/feast / main

Function main

java/serving/src/test/resources/docker-compose/feast10/setup_it.py:61–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60
61def main():
62 print("Running setup_it.py")
63
64 setup_data()
65 existing_repo_config = load_repo_config(Path("."), Path(".") / "feature_store.yaml")
66
67 # Update to default online store since otherwise, relies on Dockerized Redis service
68 fs = FeatureStore(config=existing_repo_config.copy(update={"online_store": {}}))
69 fs.apply(
70 [
71 driver_hourly_stats_view,
72 transformed_conv_rate,
73 driver,
74 entity,
75 benchmark_feature_service,
76 *benchmark_feature_views,
77 ]
78 )
79
80 print("setup_it finished")
81
82
83if __name__ == "__main__":

Callers 1

setup_it.pyFile · 0.70

Calls 4

applyMethod · 0.95
load_repo_configFunction · 0.90
FeatureStoreStruct · 0.90
setup_dataFunction · 0.85

Tested by

no test coverage detected