From 19cb80648f8c87f633ff3dd15e4ec81987b43357 Mon Sep 17 00:00:00 2001 From: Marcel Aretz Date: Wed, 12 Apr 2023 19:49:20 +0200 Subject: [PATCH 1/2] fixed issue #71 --- dbt_cloud/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dbt_cloud/cli.py b/dbt_cloud/cli.py index 6dfba26..285c38c 100644 --- a/dbt_cloud/cli.py +++ b/dbt_cloud/cli.py @@ -108,6 +108,7 @@ def run(wait, file, **kwargs): run_get_command = DbtCloudRunGetCommand( api_token=command.api_token, account_id=command.account_id, + dbt_cloud_host=command.dbt_cloud_host, run_id=run_id, ) response = run_get_command.execute() @@ -407,3 +408,6 @@ def demo(): demo.add_command(data_catalog) + +if __name__ == "__main__": + dbt_cloud() From 3a46f5cf048592f98d59bb2a2482fde733e05350 Mon Sep 17 00:00:00 2001 From: Marcel Aretz Date: Wed, 12 Apr 2023 19:55:43 +0200 Subject: [PATCH 2/2] remove stub from cli.py --- dbt_cloud/cli.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/dbt_cloud/cli.py b/dbt_cloud/cli.py index 285c38c..a95348e 100644 --- a/dbt_cloud/cli.py +++ b/dbt_cloud/cli.py @@ -408,6 +408,3 @@ def demo(): demo.add_command(data_catalog) - -if __name__ == "__main__": - dbt_cloud()