Hi, `metaflow.Runner` looks awesome, I already mig...
# dev-metaflow
b
Hi,
metaflow.Runner
looks awesome, I already migrated a couple of our tests to it! One thing I noticed is that I can't set the branch as a kwarg:
Copy code
python test.py --branch test run
Metaflow 2.12.0 executing MyTestFlow for user:max.friedrich
Project: testing, Branch: test.test
Validating your flow...
(...)

python -c "import metaflow; metaflow.Runner('test.py', branch='test').run()"
(...)
ValueError: Unknown argument: 'branch', possible args are: quiet, metadata, environment, datastore, datastore_root, package_suffixes, decospecs, pylint, event_logger, monitor
Is there a different way to configure the branch?
Looked into the code a bit, I can pass
env={"METAFLOW_BRANCH": "test"}
for now!
a
we should have a PR out soon!
b
@billowy-exabyte-36648 this should be fixed in https://github.com/Netflix/metaflow/pull/1882
b
nice, it works for me!