code: def _prefix_rules(rules):
      return list({f"//{WORKSPACE_KEY}:{rule}" for rule in rules})
  
file_path: ray/ci/ray_ci/test_bazel_sharding.py
imports: from typing import List
  import pytest
  import os
  import shutil
  import sys
  import tempfile
  import bazel_sharding
label_desc: Use image node_id 1 for calling a global function with example usage: _prefix_rules(rules) and returns: list