code: def config_from_yaml(request):
      return OmegaConf.load(Path(__file__).parent / request.param)
  
imports: from itertools import chain
  from pathlib import Path
  from collections import OrderedDict
  import pytest
  import pytorch_lightning
  from omegaconf import OmegaConf
  import torch
  from anomalib.models.components import AnomalyModule
  from anomalib.utils.callbacks.metrics_configuration import MetricsConfigurationCallback
  from anomalib.utils.metrics.collection import AnomalibMetricCollection
  from tests.helpers.dummy import DummyDataModule, DummyLogger, DummyModel
label_desc: Use image node_id 1 for calling a global function with example usage: config_from_yaml(request) and returns: OmegaConf