#3818 [BUG] Remote: Fetch_x path loses default parameters for Workflows, Launchplans
Issue created by
EngHabu
Describe the bug
When using Reference Tasks / Reference Launch Plans, the default parameters for Workflows is preserved.
When instead using the runtime remote.fetch_workflow / remote.fetch_launchplan path, the default parameters are lost.
Expected behavior
Consistent behavior across FlyteRemote and Reference Launch Plans
Additional context to reproduce
remote = FlyteRemote(config=Config.auto(config_file="workflows/config.yaml"), default_domain="development")
_encode_directory = remote.fetch_workflow(project="flytesnacks", name="workflows.my_wf", version="abcdef")
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte