<#3261 [BUG] 1.3.0 broke task execution> Issue cre...
# flyte-github
a
#3261 [BUG] 1.3.0 broke task execution Issue created by honnix Describe the bug After upgraded to 1.3.0,
remote.execute
stopped working with exception:
Copy code
...
                # We need to manually make a map of the nodes since there is none for single task executions
                # Assume the first one is the only one.
                node_mapping = (
                    {
>                       task_node_exec[0].id.node_id: FlyteNode(
                            id=flyte_entity.id,
                            upstream_nodes=[],
                            bindings=[],
                            metadata=NodeMetadata(name=""),
                            flyte_task=flyte_entity,
                        )
                    }
                    if len(task_node_exec) >= 1
                    else {}  # This is for the case where node executions haven't appeared yet
                )
E               TypeError: __init__() got an unexpected keyword argument 'flyte_task'
.tox/py38-test/lib/python3.8/site-packages/flytekit/remote/remote.py:1454: TypeError
As commented in flyteorg/flytekit#1348 (comment), it seems to be that PR breaking it during refactoring. Expected behavior
remote.execute
should work Additional context to reproduce • Upgrade to 1.3.0 • Do the following
Copy code
execution = remote.execute(
        ...
    )
Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte