Skip to content

Release 2.16.2

Compare
Choose a tag to compare
@zzstoatzz zzstoatzz released this 04 Mar 22:01
· 1378 commits to main since this release
e1c339d

⛑️ Fixing a logging bug introduced by 2.16.1

In 2.16.1, a regression related to logging non-str objects (when a PREFECT_API_KEY was set) was introduced. The fix is included in 2.16.2.

See #12151 for implementation details.

🎯 Use a module path entrypoint when using .serve or .deploy

from prefect_dbt.cloud.jobs import trigger_dbt_cloud_job_run_and_wait_for_completion

from prefect.deployments import EntrypointType

if __name__ == "__main__":
    trigger_dbt_cloud_job_run_and_wait_for_completion.deploy(
        name="demo-deploy-from-module",
        work_pool_name="olympic",
        entrypoint_type=EntrypointType.MODULE_PATH,
        job_variables={"env": { "EXTRA_PIP_PACKAGES": "prefect-dbt" } }
    )

See #12134 for implementation details.

Full Changelog: 2.16.1...2.16.2


See the release notes for more!