szalai1
07/20/2021, 9:40 AM<http://graph.to|graph.to>_job
could help I believe.
is there any way to keep run_configs
schedules
close to the graphs/pipelines
and resources
tags
close to repos
like: [<http://g.to|g.to>_job(resources, tags..) for g in graphs]
what's the intended way to organise multiple pipelines + run_configs?sandy
07/20/2021, 4:22 PM[<http://g.to|g.to>_job(resources, tags..) for g in graphs]
is definitely an intended pattern.
it does get tricky when you want to include schedules and run config. if the config is just for the graph and not for the resources, you can do graph.configured(...)
to create a graph with the config curried in.
and schedules need to point to a job, so they can't be constructed until after the to_job
invocation, which makes it somewhat awkward. we could potentially go back to allowing string pointers - it seems like that might be preferable in your situation?
if it would be helpful for you, you and I could find some time to go over the code on a video call and look at options?szalai1
07/20/2021, 8:52 PMconfigured
can solve this. thanks. I will try that out and let you know it I have questions.
---
we are also planning to go over all of our old pipelines and refactor them to use graphs
and io_managers
so we would like some structure that makes sense and easy to manage in the long-run too. I'm sure we will have questions 🙂
thank again