docs: def _full_like_variable(other, fill_value,
                          dtype: Union[str, np.dtype, None] = None):
      """Inner function of full_like, where other must be a variable
      """
      from .variable import Variable
  
      if isinstance(other.data, dask_array_type):
          import dask.array
          if dtype is None:
              dtype = other.dtype
          data = dask.array.full(other.shape, fill_value, dtype=dtype,
                                 chunks=other.data.chunks)
      else:
          data = np.full_like(other, fill_value, dtype=dtype)
  
      return Variable(dims=other.dims, data=data, attrs=other.attrs)