Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

ales-erjavec
Copy link
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