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)
| 616 | ) |
| 617 | @click.pass_context |
| 618 | def 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 | |
| 636 | cli.add_command(data_sources_cmd) |
nothing calls this directly
no test coverage detected