code: def make_parameter_container(
      data: Dict[str, Parameter]
  ) -> ParameterContainer:
      """Create dotted dict lookup class from parameter map.
  
      Parameters
      ----------
      data
          mapping for ``parameter_name -> 'Parameter' instance``
  
      Returns
      -------
      ParameterContainer
          A representation of the parameter data dict with keys accessible via
          ``dotted`` attribute lookup.
  
      Notes
      -----
      *  parameter name must be valid python attribute (identifier) and
         cannot be a builtin keyword. input names should have been validated
         by this point.
  
      """
      dataclass_fields = [
          (param_name, type(param))
          for param_name, param in data.items()
      ]
      ParameterContainer = make_dataclass(
          "ParameterContainer",
          dataclass_fields,
          bases=(DictAttrAccessBase,),
          frozen=True,
          unsafe_hash=True,
      )
      return ParameterContainer(**data)
  
imports: import dataclasses
  from dataclasses import dataclass, field, make_dataclass
  from pathlib import Path
  from typing import Dict, Iterator, List, NamedTuple, Optional, Tuple, Type, TypeVar, Union
  import pytorch_lightning
  import torch
  from flash.core.serve.types.base import BaseType
  from flash.core.serve.utils import download_file
  from flash.core.utilities.imports import _PYDANTIC_AVAILABLE, requires
label_desc: Use image node_id 1 for calling a global function with example usage: make_parameter_container(data) and returns: ParameterContainer