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

Function log_infra_changes

sdk/python/feast/repo_operations.py:473–485  ·  view source on GitHub ↗
(
    views_to_keep: Set[FeatureView], views_to_delete: Set[FeatureView]
)

Source from the content-addressed store, hash-verified

471
472
473def log_infra_changes(
474 views_to_keep: Set[FeatureView], views_to_delete: Set[FeatureView]
475):
476 from colorama import Fore, Style
477
478 for view in views_to_keep:
479 click.echo(
480 f"Deploying infrastructure for {Style.BRIGHT + Fore.GREEN}{view.name}{Style.RESET_ALL}"
481 )
482 for view in views_to_delete:
483 click.echo(
484 f"Removing infrastructure for {Style.BRIGHT + Fore.RED}{view.name}{Style.RESET_ALL}"
485 )
486
487
488def create_feature_store(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected