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'>
f
freezing-airport-6809
03/06/2023, 11:29 PM
ohh this is interesting, this should be supported
freezing-airport-6809
03/06/2023, 11:29 PM
i think this is probably a flytekit side miss
freezing-airport-6809
03/06/2023, 11:29 PM
cc @glamorous-carpet-83516
g
glamorous-carpet-83516
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 @hallowed-mouse-14616
h
hallowed-mouse-14616
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.