You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…ly many Materializations
Summary:
Issue: #1848
Enabled `@output_materialization_config` to yield multiple Materializations
- Addition to returning a Materialization, `output_materialization_config` can also yield multiple Materializations (a generator of Materializations.
* To treat return and yield the same way in the core, we are going to check [[ https://github.com/dagster-io/dagster/blob/9b2ff392c994de6849c701068d31f0a8756b36ad/python_modules/dagster/dagster/utils/__init__.py#L270 | ensure_gen ]] in `OutputSchemaForDecorator.materialize_runtime_values` every time this gets called.
- Changed `intro_tutorial/output_materialization.py` to yield two Materializations (use case is to output both csv and json)
Test Plan:
- unit
- ran output_materialization in tutorial through CLI and dagit
- BK
Reviewers: max, prha
Reviewed By: prha
Subscribers: alangenfeld
Differential Revision: https://dagster.phacility.com/D2263
No description provided.
The text was updated successfully, but these errors were encountered: