QQ: Is it possible to have resources that depend o...
# announcements
k
QQ: Is it possible to have resources that depend on other resources? Like with
required_resource_keys
for solids
a
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
Hmn, I see. Thanks a lot for your answer! I like the idea with the helper functions for now. 🙂
a
I might take another attempt at adding real support this afternoon since it does feel bad not to have it.
k
Well, it probably introduces a lot of additional complexity, you have to do dependency resolution etc...
a
heavy emphasis on the "might" 😄
k
🙂 have a nice afternoon either way and thanks again
a
you too!