Page MenuHomePhabricator

fix intermediates re-execution in tutorial
ClosedPublic

Authored by yuhan on Fri, Mar 13, 10:17 PM.

Details

Summary

In tutorial/intermediates, when trying to manually re-executed the pipeline in dagit, after I specified sort_by_calories in subset, I got Invalid Solid Selection error:

Fix: subset input type should include input_hydration_config when manually executed

Test Plan

ran dagit -f serialization_strategy.py -n serialization_strategy_pipeline

Diff Detail

Repository
R1 dagster
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuhan created this revision.Fri, Mar 13, 10:17 PM
yuhan added inline comments.Fri, Mar 13, 10:18 PM
examples/dagster_examples/intro_tutorial/serialization_strategy.py
32–35

Is this the right way to define input_hydration_config for pickle? -- particularly for the last screenshot in https://dagster.readthedocs.io/en/latest/sections/tutorial/intermediates.html

yuhan updated this revision to Diff 10522.Fri, Mar 13, 10:37 PM

fix isort

max added a comment.Wed, Mar 18, 10:18 PM

Thanks for this fix, let's merge it to get the tutorial back in shape!

max accepted this revision.Wed, Mar 18, 10:19 PM
This revision is now accepted and ready to land.Wed, Mar 18, 10:19 PM
yuhan updated this revision to Diff 10708.Thu, Mar 19, 1:31 AM

rebase master. no changes but just to run BK again to make sure it passes, because this diff is kinda behind

This revision was automatically updated to reflect the committed changes.