Hello all
I am having a issue when running the following: (I have simplified it)
Copy code
from typing import List, Dict, Any
from flytekit import task, Resources, workflow
@task
def task2(b:List[Any]):
return b
@workflow
def wf():
task2(b=["b","b"]) # trying to test translate_inputs_to_literals
if __name__ == "__main__":
wf()
# running in sandbox, using default image
# pyflyte run --remote ./test.py wf
It seems to me that it can not get the pickle file from S3(file not exists) in the sandbox. So I am wondering if there is anything I didn't notice. Thank you in advance!
s
shy-accountant-549
03/30/2023, 8:04 PM
I don't know if you can use
Any
for task input/output
t
tall-lock-23197
03/31/2023, 7:25 AM
List[Any]
isn't supported. Can you specify the type of items present in your list?