Skip to content

Commit

Permalink
Switch order of views to keep/delete to fix apply logging
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
michelle-rascati-sp authored Feb 20, 2022
1 parent 455ad98 commit f45a5e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/feast/repo_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ def apply_total_with_repo_instance(
(
all_to_apply,
all_to_delete,
views_to_delete,
views_to_keep,
views_to_delete,
) = extract_objects_for_apply_delete(project, registry, repo)

click.echo(registry_diff.to_string())
Expand All @@ -224,7 +224,7 @@ def apply_total_with_repo_instance(


def log_infra_changes(
views_to_keep: List[FeatureView], views_to_delete: List[FeatureView]
views_to_keep: Set[FeatureView], views_to_delete: Set[FeatureView]
):
from colorama import Fore, Style

Expand Down

0 comments on commit f45a5e8

Please sign in to comment.