@@ -511,8 +511,8 @@ def _get_features(
511511 return _feature_refs
512512
513513 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.
516516 return self .config .provider == "local" and (
517517 self .config .online_store and self .config .online_store .type == "sqlite"
518518 )
@@ -636,7 +636,7 @@ def _get_feature_views_to_materialize(
636636 return feature_views_to_materialize
637637
638638 @log_exceptions_and_usage
639- def _plan (
639+ def plan (
640640 self , desired_repo_contents : RepoContents
641641 ) -> Tuple [RegistryDiff , InfraDiff , Infra ]:
642642 """Dry-run registering objects to metadata store.
@@ -670,7 +670,7 @@ def _plan(
670670 ... ttl=timedelta(seconds=86400 * 1),
671671 ... batch_source=driver_hourly_stats,
672672 ... )
673- >>> registry_diff, infra_diff, new_infra = fs._plan (RepoContents(
673+ >>> registry_diff, infra_diff, new_infra = fs.plan (RepoContents(
674674 ... data_sources=[driver_hourly_stats],
675675 ... feature_views=[driver_hourly_stats_view],
676676 ... on_demand_feature_views=list(),
0 commit comments