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
If you try to run this, you get the error isinstance() argument 2 cannot be a parameterized generic that's mentioned in docs for standard types.
Propose: Link/Inline OR Additional context
The usage of isinstance is currently coming from the assert_type call in the type engine. Kinda worked around that in here https://github.com/flyteorg/flytekit/pull/2743/files and got the trivial case above working but additional tests and more complex cases need to be considered.
Are you sure this issue hasn't been raised already?
Yes
Have you read the Code of Conduct?
Yes
The text was updated successfully, but these errors were encountered:
Motivation: Why do you think this is important?
flytekit currently does not have generic alias support. That is, while this works
this does not
If you try to run this, you get the error
isinstance() argument 2 cannot be a parameterized generic
that's mentioned in docs for standard types.Propose: Link/Inline OR Additional context
The usage of isinstance is currently coming from the
assert_type
call in the type engine. Kinda worked around that in here https://github.com/flyteorg/flytekit/pull/2743/files and got the trivial case above working but additional tests and more complex cases need to be considered.Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: