<#4439 [Core feature] Eager workflows should suppo...
# flyte-github
a
#4439 [Core feature] Eager workflows should support default arguments Issue created by cosmicBboy Motivation: Why do you think this is important? Currently tasks executed within
@eager
workflows do not respect default arguments. Goal: What should the final outcome look like, ideally? The following should just work:
Copy code
@task
def fn(x: Optional[int] = None): ...

@eager
def eager_wf():
    await fn()
Describe alternatives you've considered Not doing this incurs additional typing where you need to supply the
x=None
. Propose: Link/Inline OR Additional context No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte