A custom implemnetion of Kedro Runner to support softfailing
Project description
kedro-softfail-runner
This file will become your README and also the index of your documentation.
Install
pip install kedro_softfail_runner
How to use
Fill me in please! Don’t forget code examples:
kedro run --runner=kedro_softfail_runner.SoftFailRunner
Why is it useful?
The team created a soft-fail runner to transform errors into warnings, allowing the pipeline to continue executing to the best of its ability while providing a report of any nodes that failed, so that data issues can be addressed. At that point, the pipeline run can be finalised by executing only those missing nodes separately, using appropriate Kedro syntax. https://kedro.org/blog/build-a-custom-kedro-runner
It’s most useful in two different scenarios: 1. Development - you want to detect all problematic nodes in one go 2. Deployment - you want to run as much node as you can before the Kedro pipeline is stopped.
Why is it not in Kedro yet?
Note that the
SoftFailRunner
does not return anything, that is result = session.run()
normally
returns a dictionary of free output, but it will be always None
for
SoftFailRunner
due to implementation problem.
Other than that, there are no other known issues yet. In order to merge this into the core library, this problem need to be fixed and the runner should be test thoroughly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file kedro-softfail-runner-0.0.3.tar.gz
.
File metadata
- Download URL: kedro-softfail-runner-0.0.3.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b339a58b83e34c894ffff8df7e716e8e48ceacf733461db9af1904329b7abcc9 |
|
MD5 | f508d94d1a150bfde0cfe7d27289e7f4 |
|
BLAKE2b-256 | bb2603a21bec18821d254cc625814df3aac694b075b2e670dc48cae85d06e4e4 |
File details
Details for the file kedro_softfail_runner-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: kedro_softfail_runner-0.0.3-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a8cc99d15089ccf43c25d915d841d1e5748785c4663e9e7912185cf74f1c147 |
|
MD5 | bf1efc124f64ede4b9a97cfe75ec189a |
|
BLAKE2b-256 | ab9ab82f6fefd2699fcb617f8976170b1da6896583f900e0102e0a8e0dc55bbe |