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.
Each event also reads the Prefect API directly for the flow record, the run
graph, the full task-run list and, on Prefect Cloud, the workspace -- state a
hook's own arguments never carry. This is on by default and needs no
configuration beyond CONVALESCE_INGEST_KEY; set
CONVALESCE_PREFECT_API_READS=false to turn it off if this process's
Prefect API is locked down, and still get everything the hook's own
arguments already carry.
Release files for convalesce-emit-prefect 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| convalesce_emit_prefect-0.1.3.tar.gz | 22.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| convalesce_emit_prefect-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.0 kB
Release files / convalesce_emit_prefect-0.1.3.tar.gz
| Download URL | convalesce_emit_prefect-0.1.3.tar.gz |
|---|---|
| Size | 22.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e738bcdb06af6f9eee4f303d0e215202de0f5bb4dfa4ded56c9726be773c2de5
|
|
BLAKE2b-256 checksum How to use checksums |
27b9d12af50caaec7de6ace9700a7f184dfd5e02f5ad09c95583eb04cbb07d3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency logRelease files / convalesce_emit_prefect-0.1.3-py3-none-any.whl
| Download URL | convalesce_emit_prefect-0.1.3-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15ca1c10d915902a4b03242b9c44e4093a4a27ac60380dc980c1fc4b67fd3d95
|
|
BLAKE2b-256 checksum How to use checksums |
a29bd4a94c08e7ceaee15e2483b63d62da9c0d2e8dbb9de3632eae4d2c66d5ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.
Transparency log