From 4f9f135897c8bad194838c8f81ab01b11f0af7a9 Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Fri, 1 Sep 2023 11:25:38 -0700 Subject: [PATCH] clarify value prop --- docs/modeling/extending-the-metadata-model.md | 4 +++- metadata-ingestion/scripts/custom_package_codegen.py | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/modeling/extending-the-metadata-model.md b/docs/modeling/extending-the-metadata-model.md index 14149e4ce9400..918667eb33ab3 100644 --- a/docs/modeling/extending-the-metadata-model.md +++ b/docs/modeling/extending-the-metadata-model.md @@ -268,7 +268,9 @@ After following the developing guide, you should be able to emit your new event -If you want to use your custom models beyond your local machine, then you can generate a custom model package that can be installed from other places. +If you want to use your custom models beyond your local machine without forking DataHub, then you can generate a custom model package that can be installed from other places. + +This package should be installed alongside the base `acryl-datahub` package, and its metadata models will take precedence over the default ones. ```bash cd metadata-ingestion diff --git a/metadata-ingestion/scripts/custom_package_codegen.py b/metadata-ingestion/scripts/custom_package_codegen.py index 9bffd3cf4bde0..219696ff9aa8e 100644 --- a/metadata-ingestion/scripts/custom_package_codegen.py +++ b/metadata-ingestion/scripts/custom_package_codegen.py @@ -94,6 +94,9 @@ def generate( click.echo() click.secho(f"Generated package at {package_path}", fg="green") + click.echo( + "This package should be installed alongside the main acryl-datahub package." + ) click.echo() click.echo(f"Install the custom package locally with `pip install {package_path}`") click.echo(