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.0.tar.gz (6.5 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.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: convalesce_emit_prefect-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 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.0.tar.gz
Algorithm Hash digest
SHA256 1fdb1af4a5aac0f2e803f4d7c8ce515c0bb3bb5809352ecd12239b3fcb29ddbe
MD5 24045fd33ba485457092980297901bd1
BLAKE2b-256 9e3b7641576df56715cdeb7a4ec9e5b1f9d3e1c965aa435d97e28239d0075257

See more details on using hashes here.

Provenance

The following attestation bundles were made for convalesce_emit_prefect-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for convalesce_emit_prefect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1838eded82155b287207f167e91e3ccc221278f88b29485815a1c0ab5713f777
MD5 230213137296dcde6a4648f5439d1370
BLAKE2b-256 798c648193f6f9aba73f39d05e8161babaa992b67d74aa1fb6f15fac187b5b56

See more details on using hashes here.

Provenance

The following attestation bundles were made for convalesce_emit_prefect-0.1.0-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

0.1.1

2 files

This release

0.1.0 This release

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