RESOLVED!
Hey guys,
i have a problem with a very little task at the moment:
Copy code
@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 PM
flytekit version is 1.5
If i run locally with pyflyte run, everything seems to be OK.
refined-lunch-94030
04/27/2023, 3:00 PM
So i just found the solution to my problem. I did have an entrypoint in my Dockerfile, as soon as i removed that it is now working.
Idk how this is actually connected but still it is now resolved.
I leave this thread in hope somebody finds it, that has the same problem