acoustic-carpenter-78188
10/06/2023, 11:56 PMdata_launch_plan inside then() branch of conditional, but got KeyError: LAUNCH_PLAN:XXX in compile time. I suspect the issue is due to this https://github.com/flyteorg/flytekit/blob/master/flytekit/remote/remote.py#L364 as node_launch_plans is empty dict from what I saw. And data_launch_plan is working and node_launch_plans is with values when calling it in a normal way.
featurized_dataset_location = (
conditional("test")
.if_(has_config.is_true())
.then(
data_launch_plan(
proxy_as=proxy_as,
name=name,
)
)
.else_()
.then(test(a=a))
Expected behavior
Since this is a TODO, can you plz help to fix this https://github.com/flyteorg/flytekit/blob/master/flytekit/remote/remote.py
Additional context to reproduce
No response
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyte