Open AgentK9 opened 1 month ago
For clarity, this is the kind of error encountered when trying to load the code above:
dagster._check.CheckError: Object <dagster._core.execution.context.init.InitResourceContext object at 0x106031a90> is not a InitResourceContextWithKeyMapping. Got <dagster._core.execution.context.init.InitResourceContext object at 0x106031a90> with type <class 'dagster._core.execution.context.init.InitResourceContext'>. This ConfiguredResource contains unresolved partially-specified nested resources, and so can only be initialized using a InitResourceContextWithKeyMapping
Dagster version
1.7.13
What's the issue?
I cannot use nested resources in jobs, even though it is implied to be supported here: https://docs.dagster.io/concepts/resources#resources-that-depend-on-other-resources
What did you expect to happen?
I would not get an error when running the below code.
How to reproduce?
Deployment type
Local
Deployment details
N/A - the above code runs anywhere with dagster installed
Additional information
No response
Message from the maintainers
Impacted by this issue? Give it a 👍! We factor engagement into prioritization.