refined-lunch-94030
04/27/2023, 2:03 PM@task(
timeout=timedelta(hours=1),
requests=Resources(
cpu="100m",
mem="300Mi"
),
)
def prepare_list(website_id_first: int, website_id_last: int) -> typing.List[int]:
if website_id_first > website_id_last:
raise ValueError(
"website_id_last has to be larger than website_id_first")
l: typing.List[int] = list(range(website_id_first, website_id_last+1))
test: typing.List[int] = [1, 2, 3]
print("l is type " + str(type(l)) + "and has content " + str(l))
return test
No matter what im doing with it i always get the Error: "Outputs not generated by task execution"
Any ideas what i am doing wrong?refined-lunch-94030
04/27/2023, 2:07 PMrefined-lunch-94030
04/27/2023, 3:00 PM