(
start_date, end_date, num_feature_views: int, online_store: str
)
| 4257 | |
| 4258 | |
| 4259 | def _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 | |
| 4277 | def _validate_feature_views(feature_views: List[BaseFeatureView]): |
no outgoing calls
no test coverage detected