https://flyte.org logo
#ask-the-community
Title
# ask-the-community
f

Frank Shen

05/09/2023, 7:42 PM
Hello, Could you please explain the difference between fixed_inputs & default_inputs when doing LP creation? I don’t understand when to use which. Thanks!
Copy code
launch_plan.LaunchPlan.get_or_create(
    workflow=wf, name="your_lp_name_1", default_inputs={"a": 3}, fixed_inputs={"c": "4"}
)
k

Kevin Su

05/09/2023, 8:11 PM
you can’t change the value of
c
when you launch the workflow. For
a
, you can still change it, but use the default value if you don’t pass it
e

Evan Sadler

05/09/2023, 8:11 PM
Fixed means that they can't be overwritten at runtime
This applies to launching them from flytekit or through the UI
f

Frank Shen

05/09/2023, 10:28 PM
Thank you @Kevin Su , @Evan Sadler!