Hey everyone, I am trying to write a script to de...
# ask-metaflow
c
Hey everyone, I am trying to write a script to deploy a two-flow setup as step functions. The second flow relies on results from the first one so I want to pass the production namespace of the first flow as a deploy time parameter to the second one. As I see it for that I would need 1. the ID/ARN of the deployed step function of the first flow 2. the namespace of that deployed step function (given that ID) Is there a way to get that information (e.g. from the Metaflow client API) or will I have to grep the output of
python […] step-functions create
? Cheers!
1
v
hi Jakob 👋 Take a look at `@project` - it creates a shared namespace across multiple flows so you don't have to pass it manually
c
Ah, I must have misread the behaviour of the
@project
decorator. I assumed the namespaces will be flow specific. Thanks for the clarification, ville. I will try that approach then
👍 1