code: def xarray_type(request):
      return request.param
  
file_path: plotly.py/packages/python/plotly/_plotly_utils/tests/validators/test_xarray_input.py
imports: import pytest
  import numpy
  import xarray
  import datetime
  from _plotly_utils.basevalidators import NumberValidator, IntegerValidator, DataArrayValidator, ColorValidator
label_desc: Use image node_id 6 for calling a global function with example usage: xarray_type(request) and returns: request