https://dagster.io/ logo
#announcements
Title
# announcements
k

Kevin

09/19/2019, 4:23 PM
QQ: Is it possible to have resources that depend on other resources? Like with
required_resource_keys
for solids
a

alex

09/19/2019, 4:36 PM
Great question! We really should have this and have taken a few attempts to add it that hit some road blocks. In the short term you can either not set
required_resource_keys
on the solids which will cause all resources to be available (but is bad since now the deps are implicit) or manage expanding out to the full set of resources yourself on each solid. The latter could be done manually or with a small utility function that knows the resource -> resource deps.
👍 1
k

Kevin

09/19/2019, 4:40 PM
Hmn, I see. Thanks a lot for your answer! I like the idea with the helper functions for now. 🙂
a

alex

09/19/2019, 4:42 PM
I might take another attempt at adding real support this afternoon since it does feel bad not to have it.
k

Kevin

09/19/2019, 4:45 PM
Well, it probably introduces a lot of additional complexity, you have to do dependency resolution etc...
a

alex

09/19/2019, 4:52 PM
heavy emphasis on the "might" 😄
k

Kevin

09/19/2019, 5:01 PM
🙂 have a nice afternoon either way and thanks again
a

alex

09/19/2019, 5:07 PM
you too!
3 Views