MCPcopy Index your code
hub / github.com/feast-dev/feast / demo_notebooks_command

Function demo_notebooks_command

sdk/python/feast/cli/cli.py:618–633  ·  view source on GitHub ↗

Generate demo Jupyter notebooks tailored to the feature store configuration. Searches for feature_store.yaml in the current directory and every file inside feast-config/. Each file is treated as a separate project config. For each project found, a sub-directory is created under OUT

(ctx: click.Context, output_dir: str, overwrite: bool)

Source from the content-addressed store, hash-verified

616)
617@click.pass_context
618def demo_notebooks_command(ctx: click.Context, output_dir: str, overwrite: bool):
619 """
620 Generate demo Jupyter notebooks tailored to the feature store configuration.
621
622 Searches for feature_store.yaml in the current directory and every file
623 inside feast-config/. Each file is treated as a separate project config.
624 For each project found, a sub-directory is created under OUTPUT_DIR.
625 """
626 from feast.demos import copy_demo_notebooks
627
628 repo = ctx.obj["CHDIR"]
629 copy_demo_notebooks(
630 output_dir=output_dir,
631 repo_path=str(repo),
632 overwrite=overwrite,
633 )
634
635
636cli.add_command(data_sources_cmd)

Callers

nothing calls this directly

Calls 1

copy_demo_notebooksFunction · 0.90

Tested by

no test coverage detected