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

Function plan_command

sdk/python/feast/cli/cli.py:249–262  ·  view source on GitHub ↗

Create or update a feature store deployment

(
    ctx: click.Context, skip_source_validation: bool, skip_feature_view_validation: bool
)

Source from the content-addressed store, hash-verified

247)
248@click.pass_context
249def plan_command(
250 ctx: click.Context, skip_source_validation: bool, skip_feature_view_validation: bool
251):
252 """
253 Create or update a feature store deployment
254 """
255 repo = ctx.obj["CHDIR"]
256 fs_yaml_file = ctx.obj["FS_YAML_FILE"]
257 cli_check_repo(repo, fs_yaml_file)
258 repo_config = load_repo_config(repo, fs_yaml_file)
259 try:
260 plan(repo_config, repo, skip_source_validation, skip_feature_view_validation)
261 except FeastProviderLoginError as e:
262 print(str(e))
263
264
265@cli.command("apply", cls=NoOptionDefaultFormat)

Callers

nothing calls this directly

Calls 3

cli_check_repoFunction · 0.90
load_repo_configFunction · 0.90
planFunction · 0.90

Tested by

no test coverage detected