code: def create_perturbation(
      perturbation_spec: PerturbationSpec,
  ) -> Perturbation:
      """Creates Perturbation from PerturbationSpec."""
      return create_object(perturbation_spec)
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/augmentations/perturbation.py
imports: from abc import ABC, abstractmethod
  from dataclasses import replace
  from random import Random
  from typing import List, Optional
  from .perturbation_description import PerturbationDescription
  from helm.benchmark.scenarios.scenario import Input, Instance, Reference, Output
  from helm.common.object_spec import ObjectSpec, create_object
label_desc: Use image node_id 1 for calling a global function with example usage: create_perturbation(perturbation_spec) and returns: create_object