<#7700 [v2] `flyte.map`: allow a per-item display ...
# flyte-github
a
#7700 [v2] `flyte.map`: allow a per-item display name for spawned tasks Issue created by earlybard What When mapping a task over N inputs, every spawned action shows in the UI under the same label — the task name (e.g.
ingest_one
) — so the N runs are visually indistinguishable. I'd like each action to carry a caller-supplied name derived from its input: flyte.map(ingest_one, items, name_fn=lambda x: x.id) Why Over hundreds of tasks, there's no way to find "the action processing X" in the console, or tell at a glance which item a running/failed action corresponds to. Proposed shape • A per-action display name, distinct from the action id and the task's registered name (so caching and task identity are unaffected). • Surfaced via a
name_fn
callable on
flyte.map
(and ideally a direct task call), applied per item, sanitized/truncated to whatever the label constraints require. flyteorg/flyte