acoustic-carpenter-78188
07/08/2023, 9:32 PMFlyteContext with LOCAL_TASK_EXECUTION for @task,and LOCAL_WORKFLOW_EXECUTION if it is @workflow.
2. If flyte_entity_call_handler is invoked inside LOCAL_TASK_EXECUTION or TASK_EXECUTION, that means it is called inside @task, warn the users of nested @tasks/@workflows.
Created a helper function is_local_execution() to shorthand the checks.
Tracking Issue
flyteorg/flyte#3734
Follow-up issue
The *call*() function in remote_callable and reference_entity duplicates and can be replaced with flyte_entity_call_handler as well in the future.
flyteorg/flytekit
✅ All checks have passed
30/30 successful checksacoustic-carpenter-78188
07/25/2023, 10:43 AM