numerous-hamburger-7178
11/29/2023, 12:52 AMmap_task
but the newer feature of overriding container_image
doesn't seem to work with map_tasks. Here's a minimal example where its still using the default container image and not the overwritten one. It does work with regular tasks, just not map_task?
@task
def my_mappable_task(a: int) -> typing.Optional[str]:
return str(a)
@workflow
def my_map_wf(x: typing.List[int]) -> typing.List[typing.Optional[str]]:
return map_task(
my_mappable_task,
concurrency=10,
min_success_ratio=0.75,
)(a=x).with_overrides(container_image="random:image")
cc @glamorous-carpet-83516 since he added the original feature https://github.com/flyteorg/flytekit/commit/eafcc820303367749e63edc62190b9153fd6be5enumerous-hamburger-7178
11/29/2023, 12:56 AMcalm-zoo-68637
11/29/2023, 6:28 AMglamorous-carpet-83516
11/29/2023, 6:23 PMlittle-lamp-45451
11/30/2023, 4:35 AMglamorous-carpet-83516
11/30/2023, 8:27 AMcalm-zoo-68637
12/01/2023, 12:34 AMglamorous-carpet-83516
12/01/2023, 12:43 AMpip install git+<https://github.com/flyteorg/flytekit.git@7a30eb575e38a75a6311ab534ff8806304a1dd93>
calm-zoo-68637
12/01/2023, 1:26 AMglamorous-carpet-83516
12/01/2023, 1:40 AMcalm-zoo-68637
12/01/2023, 11:09 PMfsspec
that you introduced in this PR? We're getting a dependency conflict with another library that we are unable to resolveglamorous-carpet-83516
12/01/2023, 11:16 PMglamorous-carpet-83516
12/01/2023, 11:19 PMcalm-zoo-68637
12/01/2023, 11:28 PMcalm-zoo-68637
12/01/2023, 11:29 PM