Hello, I'm trying to write some code that will fin...
# ask-metaflow
s
Hello, I'm trying to write some code that will find all the flows associated with a project and deploy them as argo-templates. That bit is fine, but while testing that code I've found something that I can't figure out. In my tests I've got a couple of example flows for a project that my code will go and find. However when I run pytest I get a lot of errors about duplicate decorators, before its run any of the tests. I've made a small reproducible version here: https://github.com/emilyselwood/metaflow_decorator_tests
1
a
@stocky-electrician-3956 have you tried out one of the newer versions of metaflow?
i see that the tests use 2.11.4 - if you wouldn't mind running the tests with the latest version of metaflow that will be helpful
we have pushed some changes recently that are likely to address this issue.
s
oooh
it works with 2.12.8
a
and we have a new API that you can use to deploy flows programmatically that is waiting to be shipped out. if you would like to test it out, here is the PR - https://github.com/Netflix/metaflow/pull/1910
👀 1
s
@ancient-application-36103 thanks for the pointer, that looks like it will really help with our usecase.
among us party 1