https://prefect.io logo
Title
a

ale

04/26/2022, 9:55 AM
Hey folks 👋 A
prefect-dbtcloud
collection is coming soon 🔥
🚀 5
:thank-you: 4
a

Anna Geller

04/26/2022, 11:20 AM
Awesome to hear! I can help QA this task using my dbt Cloud account
a

ale

04/26/2022, 11:23 AM
I already notices some fixes to do on the docs
👍 1
a

Anna Geller

04/26/2022, 11:38 AM
we can probably make those as strings, too for consistency in the example:
from prefect import flow
from prefect_dbtcloud.tasks import run_job


@flow
def trigger_dbt_cloud_job_run():
    run_job(
        cause="<the motivation to run the job>",
        account_id="<your dbt Cloud Account ID>",
        job_id="<the identifier of the job to run>",
        token="<your dbt Cloud API token>",
        wait_for_job_run_completion=True,
    )

    trigger_dbt_cloud_job_run()
Should the Type be
dict
here?
The dbt job gets invoked correctly 🎉 this run was using test DWH that doesn't exist anymore, so Failure was expected, but the run gets invoked fine Nice work, thanks for contributing! I may test later with an existing DWH 🙂
🚀 1
❤️ 1
a

ale

04/26/2022, 1:19 PM
The type should be
Dict
indeed. I guess
mkdocs
is confused because there are external links which contains
:
👍 1