acoustic-carpenter-78188
10/21/2025, 3:59 AMpyflyte run the following
@fl.reference_launch_plan(
project="flytesnacks",
domain="development",
name="yt_dbg.scratchpad.reference_lp_source.source_cached_wf",
version="-O-WKqjcCzxJCwQaxjD0yw",
)
def source_cached_wf(a: int) -> int:
...
@fl.workflow
def target_wf(a: int) -> int:
v = source_cached_wf(a=a)
return v
you get
## What changes were proposed in this pull request? Skip reference entities in theAttributeError: 'ReferenceLaunchPlan' object has no attribute '_workflow'
_get_image_names function.
Also fixing the type-hint. Since the function recursively calls workflow nodes, all types can be called.
## How was this patch tested?
Tested on by running against remote cluster.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
flyteorg/flytekitacoustic-carpenter-78188
10/21/2025, 4:23 PM