Petko
Jatin
Jeremiah
YD
allow_failure
from prefect import task, flow, get_run_logger, allow_failure from time import sleep @task(retries=2, timeout_seconds=3) def test_1(o, test_retries): if test_retries: sleep(5) else: raise IOError('Raising some error') return True @flow(name='test allow_failure') def run_test_flow(): result = test_1.submit(True, True) result = test_1.submit(result, False, wait_for=allow_failure(result)) if __name__ == "__main__": run_test_flow()
test_1.submit
sleep
timeout_seconds
Sam Werbalowsky
submit
Kendall Bailey
Evgeny Ivanov
cache_key_fn=task_input_hash
cache_expiration=timedelta(days=1)
cache_num
Richard Alexander
ParameterTypeError('Flow run received invalid parameters:\n - part_list: value is not a valid list')
Andrew Stewart
Ha Pham
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.