From a3773b65c55c4db52d1e664704b33d87529f4461 Mon Sep 17 00:00:00 2001 From: Gabe Lyons Date: Mon, 8 Apr 2024 16:59:58 -0700 Subject: [PATCH 1/2] Update entrypoints.py to be more clear about acryl init --- metadata-ingestion/src/datahub/entrypoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-ingestion/src/datahub/entrypoints.py b/metadata-ingestion/src/datahub/entrypoints.py index 4f6c596b7bf20..39aea506ca331 100644 --- a/metadata-ingestion/src/datahub/entrypoints.py +++ b/metadata-ingestion/src/datahub/entrypoints.py @@ -117,7 +117,7 @@ def init(use_password: bool = False) -> None: if os.path.isfile(DATAHUB_CONFIG_PATH): click.confirm(f"{DATAHUB_CONFIG_PATH} already exists. Overwrite?", abort=True) - click.echo("Configure which datahub instance to connect to") + click.echo("Configure which datahub instance to connect to (https://your-instance.acryl.io/gms for Acryl hosted users)") host = click.prompt( "Enter your DataHub host", type=str, default="http://localhost:8080" ) From a4554bf2fd43cac316e4a778073f7e3b1f8ee27f Mon Sep 17 00:00:00 2001 From: Gabe Lyons Date: Mon, 8 Apr 2024 17:12:56 -0700 Subject: [PATCH 2/2] fix lint --- metadata-ingestion/src/datahub/entrypoints.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/metadata-ingestion/src/datahub/entrypoints.py b/metadata-ingestion/src/datahub/entrypoints.py index 39aea506ca331..bcc4ea6af27f5 100644 --- a/metadata-ingestion/src/datahub/entrypoints.py +++ b/metadata-ingestion/src/datahub/entrypoints.py @@ -117,7 +117,9 @@ def init(use_password: bool = False) -> None: if os.path.isfile(DATAHUB_CONFIG_PATH): click.confirm(f"{DATAHUB_CONFIG_PATH} already exists. Overwrite?", abort=True) - click.echo("Configure which datahub instance to connect to (https://your-instance.acryl.io/gms for Acryl hosted users)") + click.echo( + "Configure which datahub instance to connect to (https://your-instance.acryl.io/gms for Acryl hosted users)" + ) host = click.prompt( "Enter your DataHub host", type=str, default="http://localhost:8080" )