I'm using metaflow jupyter notebooks and using NBR...
# ask-metaflow
p
I'm using metaflow jupyter notebooks and using NBRunner. If you have code that has @conda_base and on the cli you would execute as: python some_file.py --environment=conda run. How would you run this in a notebook using NBRunner so the conda_base decorator has the --environment=conda input?
1
d
Similar to above, NBRunner also takes a
environment
parameter that you can use to pass “conda”.
in general,
Runner
and
NBRunner
take the same arguments as the ones that are available at the top-level of the cli (ie: the ones between “myflow.py” and the command (like run)).
there are a few extra ones like cwd, env, show_output and profile.