Open kumare3 opened 6 months ago
Today for every task and workflow it is necessary for everything to be typed. It should be possible to create tasks that are untyped and unsafe optionally
untyped
unsafe
@task(unsafe=True) def foo(x, y: int) -> typing.Any: ... @task def foo2(y: int): ... @workflow(unsafe=True) def wf(x, y: int): foo(x=x, y=10) foo1(y=y)
everything can be marked as typing.Any today, which is but a problem
No response
FlytePickle => FlyteFile[pickle]
FlytePickle = Optional[FlyteFile, Binary]. # Union type
Motivation: Why do you think this is important?
Today for every task and workflow it is necessary for everything to be typed. It should be possible to create tasks that are
untyped
andunsafe
optionallyGoal: What should the final outcome look like, ideally?
Describe alternatives you've considered
everything can be marked as typing.Any today, which is but a problem
Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?