You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Our current type validation used when validating pipeline connections doesn't support comparison of bare types. For example, List[Any] does not get matched to List even though it should.
Describe the solution you'd like
Update the function such that we can handle bare types. For example, this code
# If either is a bare type (no args), treat it as if it had Anyifnotsender_args:
sender_args= (Any,)
ifnotreceiver_args:
receiver_args= (Any,) *len(sender_args)
could be used such that any bare types are given Any as arguments.
Alternatively we can look for existing type comparison solutions that probably exist in other libraries that handles this already.
Describe alternatives you've considered
Leave as is and probably document that we don't properly support bare types.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Our current type validation used when validating pipeline connections doesn't support comparison of bare types. For example,
List[Any]
does not get matched toList
even though it should.Describe the solution you'd like
Update the function such that we can handle bare types. For example, this code
could be used such that any bare types are given
Any
as arguments.Alternatively we can look for existing type comparison solutions that probably exist in other libraries that handles this already.
Describe alternatives you've considered
Leave as is and probably document that we don't properly support bare types.
The text was updated successfully, but these errors were encountered: