https://flyte.org logo
#ask-the-community
Title
# ask-the-community
a

Aleksei Potov

03/06/2023, 6:46 PM
is this already supported and I need to upgrade, if not - when?
Copy code
File "/opt/venv/lib/python3.8/site-packages/flytekit/core/map_task.py", line 271, in map_task
        raise ValueError(

Message:

    Only Flyte python task types are supported in map tasks currently, received <class 'flytekit.core.container_task.ContainerTask'>
k

Ketan (kumare3)

03/06/2023, 11:29 PM
ohh this is interesting, this should be supported
i think this is probably a flytekit side miss
cc @Kevin Su
k

Kevin Su

03/06/2023, 11:37 PM
I believe it’s related to we discussed today. For now, only regular python task can be used in map task. we are going to support other tasks (like dynamic task, container task, spark, etc). cc @Dan Rammer (hamersaw)
d

Dan Rammer (hamersaw)

03/06/2023, 11:40 PM
ContinerTask and PodTask should be supported as well. So flytekit should allow them as well. Happy to sync on this to dive into implementation details.