cuddly-jelly-27016
09/26/2024, 5:35 PMisinstance() 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
flyteorg/flytecuddly-jelly-27016
09/26/2024, 5:35 PMalert-oil-1341
09/26/2024, 5:48 PMOptional[list[int]]
also?freezing-airport-6809
alert-oil-1341
10/04/2024, 7:50 PMfreezing-airport-6809
alert-oil-1341
10/07/2024, 2:56 PMlist[str]
from an agent, we get Type of Generic List type is not supported, Only generic univariate typing.List[T] type is supported.
thankful-minister-83577
cuddly-jelly-27016
10/07/2024, 3:34 PM