Skip to content

[ENH] Allow specification of union types in input/output meta defintions#11

Merged
janezd merged 2 commits into
biolab:masterfrom
ales-erjavec:union-types
Aug 30, 2019
Merged

[ENH] Allow specification of union types in input/output meta defintions#11
janezd merged 2 commits into
biolab:masterfrom
ales-erjavec:union-types

Conversation

@ales-erjavec

Copy link
Copy Markdown
Collaborator

Allow the specification of union types by generalizing the the single type spec in the Input/OutputSignal to a tuple of types.

Ref: biolab/orange3#3545 (comment)

A strict connection type checks if all the source types are subtypes of the sink types.

A dynamic connection type checks if at least one of the sink types is a subtype of one of the source types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants