code: def test_asyncio_actor_argument_collision(ray_start_regular_shared):
      """Regression test for https://github.com/ray-project/ray/issues/41272."""
  
      @ray.remote
      class A:
          async def hi_async(self, task_id: str, specified_cgname: str):
              return f"Hi from async: {task_id}! cgname: {specified_cgname}."
  
          def hi_sync(self, task_id: str, *, specified_cgname: str):
              return f"Hi from sync: {task_id}! cgname: {specified_cgname}."
  
      a = A.remote()
      assert (
          ray.get(
              a.hi_async.remote(
                  task_id="TEST", specified_cgname="test2"
              )
          )
          == "Hi from async: TEST! cgname: test2."
      )
      assert (
          ray.get(
              a.hi_sync.remote(task_id="TEST", specified_cgname="test2")
          )
          == "Hi from sync: TEST! cgname: test2."
      )
  
imports: import asyncio
  import os
  import sys
  import threading
  import time
  import pytest
  import ray
  from ray._private.client_mode_hook import client_mode_should_convert
  from ray._private.test_utils import SignalActor, kill_actor_and_wait_for_failure, wait_for_condition, wait_for_pid_to_exit
label_desc: Use image node_id 12 for calling a global function with example usage: test_asyncio_actor_argument_collision(ray_start_regular_shared) and returns: str, task_id, str, specified_cgname, str, str, task_id, str, specified_cgname, str