Page MenuHomeElementl

mention positionals in Nothing example
ClosedPublic

Authored by alangenfeld on Jul 13 2021, 10:16 PM.

Details

Summary

It turns out the cause for the problem seen in #4271 is actually a special case handling where if there is only one input_def that isn't defined in positional we resolve to it https://dagster.phacility.com/source/dagster/browse/master/python_modules/dagster/dagster/core/definitions/i_solid_definition.py$74-79

I can't think of a good way to handle it more cleanly, so just use kwargs in the tutorial example and add some text to call it out.

resolves https://github.com/dagster-io/dagster/issues/4271

Test Plan

eyes

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jul 13 2021, 11:04 PM
docs/content/concepts/solids-pipelines/pipelines.mdx
401

nit: "corresponding entry in the function" -> "corresponding parameter in the function"?

This revision was automatically updated to reflect the committed changes.