<#6030 [BUG] pyflyte run launch plan with default ...
# flytekit
c
#6030 [BUG] pyflyte run launch plan with default inputs cannot be run successfully Issue created by KyleShao1016 ### Describe the bug I attempted to execute a pyflyte run launch plan using a default input, but I encountered an error indicating that no input had been provided. from flytekit import task, workflow, LaunchPlan, current_context @task() def t1(a: int) -> int: return a + 1 @workflow def wf1(b: int) -> int: return t1(t1(b)) wf1_lp = LaunchPlan.create( name="wf1_lp", workflow=wf1, default_inputs={"b": 1} ) ### Expected behavior For the provided code segment, the expected output is 3. However, I encountered an error stating that the argument
b
was not provided. ### Additional context to reproduce No response ### Screenshots [截圖 2024-11-18 下午10 59 20](https://private-user-images.githubusercontent.com/71746088/387533909-1bd9adf4-0624-4e3e-924c-23687c83fb70.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDg0Nzc2NzcsIm5iZiI6MTc0ODQ3NzM3NywicGF0aCI6Ii83MTc0NjA4OC8zODc1MzM5MDktMWJkOWFkZjQtMDYyNC00ZTNlLTkyNGMtMjM2ODdjODNmYjcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTA1MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwNTI5VDAwMDkzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ4NTdlNDQzMGY4NTBjYmFiNjhiMTNjODMzMzY0N2U2YjBlNjVjOTIyNGY0MjAxMWE1MGY2OTA4ZWJhOTQ0MjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.KFLEHeVOKNcG5uv5_jn25D9poD_bSVVbguNsYvgnRgA) ### Are you sure this issue hasn't been raised already? • Yes ### Have you read the Code of Conduct? • Yes flyteorg/flyte