@@ -511,8 +511,8 @@ def _get_features(
511
511
return _feature_refs
512
512
513
513
def _should_use_plan (self ):
514
- """Returns True if _plan and _apply_diffs should be used, False otherwise."""
515
- # Currently only the local provider with sqlite online store supports _plan and _apply_diffs.
514
+ """Returns True if plan and _apply_diffs should be used, False otherwise."""
515
+ # Currently only the local provider with sqlite online store supports plan and _apply_diffs.
516
516
return self .config .provider == "local" and (
517
517
self .config .online_store and self .config .online_store .type == "sqlite"
518
518
)
@@ -636,7 +636,7 @@ def _get_feature_views_to_materialize(
636
636
return feature_views_to_materialize
637
637
638
638
@log_exceptions_and_usage
639
- def _plan (
639
+ def plan (
640
640
self , desired_repo_contents : RepoContents
641
641
) -> Tuple [RegistryDiff , InfraDiff , Infra ]:
642
642
"""Dry-run registering objects to metadata store.
@@ -670,7 +670,7 @@ def _plan(
670
670
... ttl=timedelta(seconds=86400 * 1),
671
671
... batch_source=driver_hourly_stats,
672
672
... )
673
- >>> registry_diff, infra_diff, new_infra = fs._plan (RepoContents(
673
+ >>> registry_diff, infra_diff, new_infra = fs.plan (RepoContents(
674
674
... data_sources=[driver_hourly_stats],
675
675
... feature_views=[driver_hourly_stats_view],
676
676
... on_demand_feature_views=list(),
0 commit comments