@@ -58,11 +58,11 @@ def parse_repo(repo_root: Path) -> ParsedRepo:
5858def apply_total (repo_config : RepoConfig , repo_path : Path ):
5959 os .chdir (repo_path )
6060 sys .path .append ("" )
61- metadata_store_config = repo_config .get_metadata_store_config ()
61+ registry_config = repo_config .get_registry_config ()
6262 project = repo_config .project
6363 registry = Registry (
64- registry_path = metadata_store_config .path ,
65- cache_ttl = timedelta (seconds = metadata_store_config .cache_ttl_seconds ),
64+ registry_path = registry_config .path ,
65+ cache_ttl = timedelta (seconds = registry_config .cache_ttl_seconds ),
6666 )
6767 repo = parse_repo (repo_path )
6868
@@ -121,10 +121,10 @@ def apply_total(repo_config: RepoConfig, repo_path: Path):
121121
122122
123123def teardown (repo_config : RepoConfig , repo_path : Path ):
124- metadata_store_config = repo_config .get_metadata_store_config ()
124+ registry_config = repo_config .get_registry_config ()
125125 registry = Registry (
126- registry_path = metadata_store_config .path ,
127- cache_ttl = timedelta (seconds = metadata_store_config .cache_ttl_seconds ),
126+ registry_path = registry_config .path ,
127+ cache_ttl = timedelta (seconds = registry_config .cache_ttl_seconds ),
128128 )
129129 project = repo_config .project
130130 registry_tables : List [Union [FeatureTable , FeatureView ]] = []
@@ -136,11 +136,11 @@ def teardown(repo_config: RepoConfig, repo_path: Path):
136136
137137def registry_dump (repo_config : RepoConfig ):
138138 """ For debugging only: output contents of the metadata registry """
139- metadata_store_config = repo_config .get_metadata_store_config ()
139+ registry_config = repo_config .get_registry_config ()
140140 project = repo_config .project
141141 registry = Registry (
142- registry_path = metadata_store_config .path ,
143- cache_ttl = timedelta (seconds = metadata_store_config .cache_ttl_seconds ),
142+ registry_path = registry_config .path ,
143+ cache_ttl = timedelta (seconds = registry_config .cache_ttl_seconds ),
144144 )
145145
146146 for entity in registry .list_entities (project = project ):
@@ -173,7 +173,7 @@ def init_repo(repo_path: Path, minimal: bool):
173173 dedent (
174174 f"""
175175 project: { project_id }
176- metadata_store : /path/to/metadata .db
176+ registry : /path/to/registry .db
177177 provider: local
178178 online_store:
179179 local:
@@ -182,7 +182,7 @@ def init_repo(repo_path: Path, minimal: bool):
182182 )
183183 )
184184 print (
185- "Generated example feature_store.yaml. Please edit metadata_store and online_store"
185+ "Generated example feature_store.yaml. Please edit registry and online_store"
186186 "location before running apply"
187187 )
188188
@@ -211,7 +211,7 @@ def init_repo(repo_path: Path, minimal: bool):
211211 dedent (
212212 f"""
213213 project: { project_id }
214- metadata_store : { "data/metadata .db" }
214+ registry : { "data/registry .db" }
215215 provider: local
216216 online_store:
217217 local:
0 commit comments