pypi prefect 2.16.2
Release 2.16.2

latest releases: 2.20.13, 3.1.3.dev2, 3.1.3.dev1...
8 months ago

⛑️ 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

Don't miss a new prefect release

NewReleases is sending notifications on new releases.