code: def _call_plc_leiden(
      sID: bytes,
      mg_graph_x,
      max_iter: int,
      resolution: int,
      random_state: int,
      theta: int,
      do_expensive_check: bool,
  ) -> Tuple[cp.ndarray, cp.ndarray, float]:
      return pylibcugraph_leiden(
          resource_handle=ResourceHandle(
              Comms.get_handle(sID).getHandle()
          ),
          random_state=random_state,
          graph=mg_graph_x,
          max_level=max_iter,
          resolution=resolution,
          theta=theta,
          do_expensive_check=do_expensive_check,
      )
  
file_path: cugraph/python/cugraph/cugraph/dask/community/leiden.py
imports: from __future__ import annotations
  from dask.distributed import wait, default_client
  import cugraph.dask.comms.comms
  import dask_cudf
  import dask
  from dask import delayed
  import cudf
  from pylibcugraph import ResourceHandle
  from pylibcugraph import leiden
  import numpy
  import cupy
  from typing import Tuple, TYPE_CHECKING
label_desc: Use image node_id 2 for calling a global function with example usage: _call_plc_leiden(sID, mg_graph_x, max_iter, resolution, random_state, theta, do_expensive_check) and returns: pylibcugraph_leiden