Skip to main content

convalesce-emit-prefect

Forward Prefect flow and task run state to Convalesce, unchanged.

Install

pip install convalesce-emit-prefect

Wire it up

The package exports plain hook functions. Attach them to a flow or task and Prefect calls them, by keyword on 2.x and positionally on 3.x:

from prefect import flow, task
from convalesce_emit_prefect import emit_flow_run, emit_task_run


@task(on_completion=[emit_task_run], on_failure=[emit_task_run])
def extract():
    ...


@flow(on_completion=[emit_flow_run], on_failure=[emit_flow_run])
def nightly():
    extract()

Set CONVALESCE_INGEST_KEY where the flow runs.

Supported

Prefect 2.20 and 3.x, on Python 3.9 and later. Verified on real installs: see version-support.md.

Configure

Read from the environment: see convalesce-emit.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

convalesce_emit_prefect-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

convalesce_emit_prefect-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file convalesce_emit_prefect-0.1.1.tar.gz.

File metadata

  • Download URL: convalesce_emit_prefect-0.1.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for convalesce_emit_prefect-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aa8caef6f6b3dcee8aea0e16f1f6abb4d336b9995b8cfef2cf073da9e6cf7a86
MD5 b4e830842472753d384df99f4f5f7897
BLAKE2b-256 e3f5b4f36aa248e0d965c7b360243faebe06cf81f459b1843c7b0835c859c3a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for convalesce_emit_prefect-0.1.1.tar.gz:

Publisher: publish.yml on convalesce/emit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file convalesce_emit_prefect-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for convalesce_emit_prefect-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cf64c06ff4dc38da72c681f23f6013e6a1cff75ee7d5bcf71652c5fc04ac601
MD5 739baf4f27dd3b6f8bdc0643ca68bf04
BLAKE2b-256 1cf5cf07cef7bfc900bb13dcdaf0f8080d7ed4de1c84ef9b6adbb0b0882f883f

See more details on using hashes here.

Provenance

The following attestation bundles were made for convalesce_emit_prefect-0.1.1-py3-none-any.whl:

Publisher: publish.yml on convalesce/emit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page