code: def tracing_excluded_urls(
      excluded_urls: str
      | list[str]
      | None = Provide[tracing.excluded_urls],
  ):
      from opentelemetry.util.http import ExcludeList
      from opentelemetry.util.http import parse_excluded_urls
  
      if isinstance(excluded_urls, list):
          return ExcludeList(excluded_urls)
      elif isinstance(excluded_urls, str):
          return parse_excluded_urls(excluded_urls)
      else:
          return ExcludeList([])
  
imports: from __future__ import annotations
  import logging
  import math
  import os
  import typing
  import uuid
  from copy import deepcopy
  from dataclasses import dataclass
  from pathlib import Path
  from typing import TYPE_CHECKING
  import schema
  import yaml
  from deepmerge.merger import Merger
  from simple_di import Provide
  from simple_di import providers
  from ...exceptions import BentoMLConfigException
  from ..context import component_context
  from ..context import trace_context
  from ..resource import CpuResource
  from ..resource import system_resources
  from ..utils import split_with_quotes
  from ..utils import validate_or_create_dir
  from ..utils.unflatten import unflatten
  from .None import expand_env_var
  from .helpers import expand_env_var_in_values
  from .helpers import flatten_dict
  from .helpers import get_default_config
  from .helpers import import_configuration_spec
  from .helpers import load_config_file
label_desc: Use image node_id 18 for calling the _BentoMLContainerClass obj's underlying member method code with example usage: obj.tracing_excluded_urls(excluded_urls) and returns: ExcludeList, parse_excluded_urls, ExcludeList