When flow is run programmatically using `Runner()`...
# ask-metaflow
t
When flow is run programmatically using
Runner()
, then its strips out ANSII color codes in
click/utils.py
but the stdout is being printed in terminal which is capable of these codes. Is there any option to force colors? Example: Running
python main.py
outputs no colors.
Copy code
# Contents of main.py
with Runner("flows/predict_sii.py").run() as running:
        print(f"{running.run} completed")
Whereas, running
python flows/predict_sii.py run
works!
1
s
Unfortunately not at the moment