code: def test_user_metadata_empty(workflow_start_regular):
      task_id = "simple_task"
      workflow_id = "simple"
  
      @workflow.options(task_id=task_id)
      @ray.remote
      def simple():
          return 0
  
      workflow.run(simple.bind(), workflow_id=workflow_id)
  
      assert workflow.get_metadata("simple")["user_metadata"] == {}
      assert (
          workflow.get_metadata("simple", "simple_task")[
              "user_metadata"
          ]
          == {}
      )
  
file_path: ray/python/ray/workflow/tests/test_metadata.py
imports: import time
  from ray.tests.conftest import *
  import pytest
  import ray
  from ray import workflow
label_desc: Use image node_id 2 for calling a global function with example usage: test_user_metadata_empty(workflow_start_regular) and returns: int