Zach P

11/07/2022, 2:00 PM
One thing I’ve struggled with, and have had some coworkers struggle with when trying to onboard them to dagster is all the ways to express config. We have: • Resource Config ( EG. when we define the configuration of a resource def) • Config of resources (AKA ‘required resources’) • Op config • Run config (which seems to be pipeline config, something thats not really exposed much in 1.xx) • Job Config • input/output config • config via code vs. via yaml • config mappings • sensor configs • more, I may have missed some. • Things that can be configured with @configured, .configured vs. others that cant (even if it doesn’t always make sense intuitively). This isn’t to say this is all bad, obviously being able to configure all these different things in different ways gives a lot of power, but its also hard to know: • With all these options, which should you use? • How to differentiate them (EG: Many times I’ve gotten a a config type to resolve to None, when I thought I’d configured it. Some sort of holistic documentation/guide on configuration may be a good idea, as well as some best practices. I’m still relatively new to the dagster project as a whole so I imagine this becomes second nature after using it for a bit longer. Just thought I’d point out a part of the learning curve that I and the team I work with have found too be a little steeper than expected. Thanks for reading 🙂
👍 7
😛lus2: 4
:1000: 5
:ty-spinny: 2
:dagster-bot-resolve: 1


11/08/2022, 2:50 PM
Hi Zach, Thanks for writing this up-- we’r currently looking at some simplifications to config, and additional documentation will surely be part of that.
❤️ 1


11/08/2022, 4:35 PM
@Zach P this is pointed, accurate, and fantastic feedback. Thanks for sharing. I’m looking forward to working on simplifying and rationalizing this situation in my new role.
👍 1