Hello all I am having a issue when running the fol...
# ask-the-community
y
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!
n
I don't know if you can use
Any
for task input/output
s
List[Any]
isn't supported. Can you specify the type of items present in your list?
150 Views