Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 07240bd

Browse files
committed
add cloud_doc_url var
1 parent eb698a3 commit 07240bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_diff/dbt.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ def _initialize_api() -> Optional[DatafoldAPI]:
292292
rich.print("[red]API key not found. Getting from the keyring service")
293293
api_key = keyring.get_password("data-diff", "DATAFOLD_API_KEY")
294294
if not api_key:
295-
rich.print("[red]API key not found. Please follow the steps at https://docs.datafold.com/development_testing/cloud to use the --cloud flag.")
295+
cloud_doc_url = "https://docs.datafold.com/development_testing/cloud"
296+
rich.print("[red]API key not found. Please follow the steps at {cloud_doc_url} to use the --cloud flag.")
296297
rich.print("Saving the API key to the system keyring service")
297298
try:
298299
keyring.set_password("data-diff", "DATAFOLD_API_KEY", api_key)

0 commit comments

Comments
 (0)