x

    xyzy

    1 year ago
    Is there a library that allows you to write flows like this:
    chain(
            extract(from_date, to_date, base_currency), 
            transform, 
            load
        )
    Instead of this:
    extract_result = extract(from_date, to_date, base_currency)
        transform_result = transform(extract_result)
        load(transform_result)
    ?
    Found a thread referring to https://toolz.readthedocs.io/en/latest/api.html#toolz.functoolz.pipe which does the trick
    would love to see this functionality integrated in the core so you don't need an external library