cuddly-jelly-27016
05/15/2025, 12:09 AM@dataclass_json
@dataclass
class MyStruct
foo: str
bar: str = 'baz'
def workflow(s: MyStruct):
...
qux = LaunchPlan(workflow, default_inputs=dict(s=MyStruct(foo='baz', bar='qux')))
If i go to launch workflow with the qux launch plan it instead takes the default values from the struct definition. So foo will be unset and bar will be set by default as baz.
flyteorg/flytecuddly-jelly-27016
05/15/2025, 12:09 AM