Details
Details
Added test for resource dependencies.
Diff Detail
Diff Detail
- Repository
- R1 dagster
- Branch
- resources_output_context
- Lint
Lint Passed - Unit
No Test Coverage
Event Timeline
python_modules/dagster/dagster/core/execution/context/output.py | ||
---|---|---|
201 | In what situations would this be None? |
python_modules/dagster/dagster/core/execution/context/output.py | ||
---|---|---|
201 | Approximately None |
python_modules/dagster/dagster/core/execution/context/output.py | ||
---|---|---|
201 | 😂 In that case, can we make it non-optional? Then can avoid the cast below? |
python_modules/dagster/dagster/core/execution/context/output.py | ||
---|---|---|
201 | yeah honestly if its not a user facing API i think we should avoid = None ing stuff out and just be explicit at all call sites. Too many bugs from accidental omission of optional arguments | |
201–202 | passing the whole mode and scoped builder separately feels a bit odd to me
|
Comment Actions
Address comments: get rid of defaults on get_output_context, pass resources directly to get_output_context