famous-businessperson-24711
03/24/2022, 9:53 PMFile "/app/workflows/royalties/agg_input_validations_workflow.py", line 34, in <module>
) -> typing.Tuple[str, dict]:
File "/home/jovyan/.local/lib/python3.7/site-packages/flytekit/core/workflow.py", line 737, in workflow
return wrapper(_workflow_function)
File "/home/jovyan/.local/lib/python3.7/site-packages/flytekit/core/workflow.py", line 733, in wrapper
workflow_instance.compile()
File "/home/jovyan/.local/lib/python3.7/site-packages/flytekit/core/workflow.py", line 613, in compile
workflow_outputs = exception_scopes.user_entry_point(self._workflow_function)(**input_kwargs)
File "/home/jovyan/.local/lib/python3.7/site-packages/flytekit/common/exceptions/scopes.py", line 207, in user_entry_point
raise FlyteScopedUserException(*_exc_info())
flytekit.common.exceptions.scopes.FlyteScopedUserException: Input was not specified for: scenario_name of type simple: STRING
famous-businessperson-24711
03/24/2022, 9:54 PMthankful-minister-83577
thankful-minister-83577
famous-businessperson-24711
03/24/2022, 10:14 PMfamous-businessperson-24711
03/24/2022, 10:15 PMget_or_create
the following works fine
_flytekit.LaunchPlan.get_or_create(obj, name=obj.name, default_inputs=obj.python_interface.default_inputs_as_kwargs)
famous-businessperson-24711
03/24/2022, 10:16 PMobj = _flytekit.LaunchPlan.get_default_launch_plan(FlyteContext.current_context(), obj)
famous-businessperson-24711
03/24/2022, 10:21 PMfamous-businessperson-24711
03/24/2022, 10:25 PM