worried-mechanic-36312
05/07/2021, 5:03 PM<https://github.com/jacopotagliabue/metaflow-as-prefect-task/blob/main/orchestration/MetaflowShellTask.py>
which is a MF shell task supporting either a local flow file, or - mimicking other Prefect classes - a remote github repo containing the target MF flow. Quick q:
1. Do you guys think it's helpful to get a first stab at it, with some minimal functionalities up and running?
2. If yes, do you want me to send you my WIP code, or is something on your roadmap to support "officially", so you want to handle it yourself?worried-mechanic-36312
05/07/2021, 5:04 PMsquare-wire-39606
05/07/2021, 8:02 PMworried-mechanic-36312
05/07/2021, 8:04 PM<https://github.com/jacopotagliabue/metaflow-as-prefect-task/blob/main/orchestration/prefect_cloud_main.py>
(ask if anything is unclear)worried-mechanic-36312
05/07/2021, 8:06 PMworried-mechanic-36312
05/07/2021, 8:07 PMsquare-wire-39606
05/07/2021, 8:10 PMsquare-wire-39606
05/07/2021, 8:11 PMworried-mechanic-36312
05/07/2021, 8:15 PMMF steps -> P UI tasks
and so having @retry
and all that to work (through some config) for Prefect like they know work in vanilla MF? That's cool, but also way more complex that what I was trying to do, which is letting prefect run metaflow as a command line tool and rely on metaflow own code for its execution (similar to dbt prefect task, which launch DBT but then relies on DBT intenral code to execute the SQL grapg)square-wire-39606
05/07/2021, 8:18 PMworried-mechanic-36312
05/08/2021, 7:50 PM<https://docs.prefect.io/api/latest/tasks/dbt.html#dbtshelltask>
, and share it with you for your review - sounds good? I'll try to work on this when I have some free time here and there in the next few weeks 😉square-wire-39606
05/08/2021, 7:51 PM