worried-queen-18918
02/06/2023, 7:41 AMfailed to create workflow in propeller json: error calling MarshalJSON for type *v1alpha1.Inputs: Marshal called with nil
Is this expected?agreeable-kitchen-44189
02/06/2023, 8:03 AMworried-queen-18918
02/06/2023, 8:38 AM@task
def test() -> str:
return ""
worried-queen-18918
02/06/2023, 8:40 AM@task(task_config=Pod(...))
def test() -> str:
return ""
agreeable-kitchen-44189
02/06/2023, 8:44 AMhallowed-mouse-14616
02/06/2023, 3:40 PMhallowed-mouse-14616
02/06/2023, 3:46 PM@task(
task_config=Pod(
pod_spec=V1PodSpec(
containers=[
V1Container(
name="primary",
resources=V1ResourceRequirements(
requests={"cpu": ".5", "memory": "500Mi"},
limits={"cpu": ".5", "memory": "500Mi"},
),
)
],
),
)
)
def my_empty_pod_task() -> str:
return "hello world!"
@workflow
def empty_pod_workflow() -> str:
s = my_empty_pod_task()
return s
without any issue. If there is a problem with this, it is a very large problem.
Also, can I ask what the Pod
definition is? Perhaps there is something that results in mis-formatted inputs / output values.freezing-airport-6809
freezing-airport-6809
hallowed-mouse-14616
02/06/2023, 4:05 PMhallowed-mouse-14616
02/06/2023, 4:33 PM