Skip to content

Commit f45a5e8

Browse files
Switch order of views to keep/delete to fix apply logging
* apply_log_fix switch order of views to keep/delete. Fix type hinting Signed-off-by: Michelle Rascati <michelle.rascati@sailpoint.com> * apply_log_fix fix other type hinting Signed-off-by: Michelle Rascati <michelle.rascati@sailpoint.com>
1 parent 455ad98 commit f45a5e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/python/feast/repo_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def apply_total_with_repo_instance(
209209
(
210210
all_to_apply,
211211
all_to_delete,
212-
views_to_delete,
213212
views_to_keep,
213+
views_to_delete,
214214
) = extract_objects_for_apply_delete(project, registry, repo)
215215

216216
click.echo(registry_diff.to_string())
@@ -224,7 +224,7 @@ def apply_total_with_repo_instance(
224224

225225

226226
def log_infra_changes(
227-
views_to_keep: List[FeatureView], views_to_delete: List[FeatureView]
227+
views_to_keep: Set[FeatureView], views_to_delete: Set[FeatureView]
228228
):
229229
from colorama import Fore, Style
230230

0 commit comments

Comments
 (0)