green-agency-30976
11/09/2023, 2:22 PM@reference_workflow
@reference_workflow(
project="proj",
domain="development",
name="<http://myprod.wf|myprod.wf>",
version="0.2.19",
)
def wf(
param: str,
) -> str:
...
wf_lp = LaunchPlan.create(
name="my_wf_lp",
workflow=wf,
fixed_inputs={"param": "yes"},
)
but I get the following kind of obvious error
<...>/lib/python3.10/site-packages/flytekit/core/launch_plan.py:126 in create │
│ │
│ ❱ 126 │ │ wf_signature_parameters = transform_inputs_to_parameters(ctx, workflow.python_in │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'function' object has no attribute 'python_interface'
tall-lock-23197
green-agency-30976
12/12/2023, 12:55 PMtall-lock-23197
user
12/12/2023, 1:15 PMgreen-agency-30976
12/12/2023, 2:08 PM