<#1573 [wip] Hack fix> Pull request opened by <kum...
# flyte-github
a
#1573 [wip] Hack fix Pull request opened by kumare3 This is a quick fix that fixes the problem of duplicate map-task entities getting created in the following example
Copy code
from flytekit import task, workflow, map_task

@task
def t(a: int) -> str:
    print(f"{a}")
    return str(a)

@workflow
def wf(name: str):
    map_task(t)(a=[1])
    map_task(t)(a=[1, 2])
TL;DR Please replace this text with a description of what this PR accomplishes. Type ☐ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☐ Code completed ☐ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description How did you fix the bug, make the feature etc. Link to any design docs etc Tracking Issue https://github.com/flyteorg/flyte/issues/ Follow-up issue NA OR https://github.com/flyteorg/flyte/issues/ flyteorg/flytekit All checks have passed 30/30 successful checks