code: def parquet_filepath(
      parquet_file: str, request: "pytest.FixtureRequest"
  ) -> str:
      """Convert a filepath in the CWD to either an absolute or relative path.
  
      Args:
          parquet_file: Absolute path to a parquet file in the CWD
          request: pytest request fixture with the fixture parameters
  
      Returns:
          Either the absolute or relative path of the parquet file.
      """
      filepath_type = request.param
      return (
          parquet_file
          if filepath_type == "absolute"
          else os.path.basename(parquet_file)
      )
  
file_path: ludwig/tests/ludwig/data/test_ray_data.py
imports: import os
  import shutil
  from unittest import mock
  import pandas
  import pytest
  from ludwig.data.dataset.ray import RayDatasetBatcher, read_remote_parquet
label_desc: Use image node_id 3 for calling a global function with example usage: parquet_filepath(parquet_file, request) and returns: unknown