code: def _multiply_float_dataclasses_field(
      dataclass, factor: float, fields_to_ignore: List[str] = []
  ) -> None:
      """Recursively multiplies all float fields of the dataclass by given number.
  
      Warning: it modifies 'dataclass' argument.
      """
      fields = dataclasses.fields(dataclass)
      for field in fields:
          if field.name in fields_to_ignore:
              continue
          value = getattr(dataclass, field.name)
          if value is None:
              continue
          if field.type is float:
              setattr(dataclass, field.name, value * factor)
          elif dataclasses.is_dataclass(value):
              _multiply_float_dataclasses_field(value, factor)
  
imports: import copy
  import pipeline_dp
  from analysis import metrics
  import dataclasses
  from typing import List, Tuple, Callable
  import math
label_desc: Use image node_id 8 for calling a global function with example usage: _multiply_float_dataclasses_field(dataclass, factor, fields_to_ignore) without return types