Skip to content

InputPort.default raises a RuntimeError if no default was defined #280

@sphuber

Description

@sphuber

raise RuntimeError('No default')

This is positively weird design. Not sure what the original reasoning was but of all the ways of communicating to the caller that no default was set, this has got to be one of the least expected ones. We should probably just have it defined the UNSPECIFIED tuple.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions