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

Function _print_materialization_log

sdk/python/feast/feature_store.py:4259–4274  ·  view source on GitHub ↗
(
    start_date, end_date, num_feature_views: int, online_store: str
)

Source from the content-addressed store, hash-verified

4257
4258
4259def _print_materialization_log(
4260 start_date, end_date, num_feature_views: int, online_store: str
4261):
4262 if start_date:
4263 print(
4264 f"Materializing {Style.BRIGHT + Fore.GREEN}{num_feature_views}{Style.RESET_ALL} feature views"
4265 f" from {Style.BRIGHT + Fore.GREEN}{utils.make_tzaware(start_date.replace(microsecond=0))}{Style.RESET_ALL}"
4266 f" to {Style.BRIGHT + Fore.GREEN}{utils.make_tzaware(end_date.replace(microsecond=0))}{Style.RESET_ALL}"
4267 f" into the {Style.BRIGHT + Fore.GREEN}{online_store}{Style.RESET_ALL} online store.\n"
4268 )
4269 else:
4270 print(
4271 f"Materializing {Style.BRIGHT + Fore.GREEN}{num_feature_views}{Style.RESET_ALL} feature views"
4272 f" to {Style.BRIGHT + Fore.GREEN}{utils.make_tzaware(end_date.replace(microsecond=0))}{Style.RESET_ALL}"
4273 f" into the {Style.BRIGHT + Fore.GREEN}{online_store}{Style.RESET_ALL} online store.\n"
4274 )
4275
4276
4277def _validate_feature_views(feature_views: List[BaseFeatureView]):

Callers 2

materializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected