- adds the ability to set default values in InputDefinition
- parses them when doing inference
- fixes a py2 bug due to missing __ne__ on DagsterType
seems good overall. need to cover some edges cases (e.g. Nothing, where the default fails the type check). probably others i'm not thinking of right now.
Then also being able to defaults via python default params when we are computing things based on func sig, *or* explicitly disallow it
Why don't we special case default checks for the scalar types? I think that would snag an entire class of errors.
could definitely do that, wasnt sure what to call the method on dagster_type, context_free_type_check ? simple_type_check ?
this is super nice and clean
|234 ↗||(On Diff #11242)|
I think parameterizes is the correct spelling, no?
|95 ↗||(On Diff #11242)|
maybe worth some tests with composites also? and fan-in?
|54 ↗||(On Diff #11242)|
Why don't you make a task for for this. This is tractable with a little work and could be a good task for someone who wants to learn the type system