code: def _deserialize_single_param(
      request: Request, bs: bytes
  ) -> Params[t.Any]:
      container = request.headers["Payload-Container"]
      meta = json.loads(request.headers["Payload-Meta"])
      batch_size = int(request.headers["Batch-Size"])
      kwarg_name = request.headers.get("Kwarg-Name")
      payload = Payload(
          data=bs,
          meta=meta,
          batch_size=batch_size,
          container=container,
      )
      if kwarg_name:
          d = {kwarg_name: payload}
          params: Params[t.Any] = Params(**d)
      else:
          params: Params[t.Any] = Params(payload)
  
      return params
  
imports: from __future__ import annotations
  import functools
  import json
  import logging
  import pickle
  import traceback
  import typing
  from typing import TYPE_CHECKING
  from simple_di import Provide
  from simple_di import inject
  from bentoml.exceptions import BentoMLException
  from bentoml.exceptions import ServiceUnavailable
  from ..configuration.containers import BentoMLContainer
  from ..context import component_context
  from ..context import trace_context
  from ..marshal.dispatcher import CorkDispatcher
  from ..runner.container import AutoContainer
  from ..runner.container import Payload
  from ..runner.utils import PAYLOAD_META_HEADER
  from ..runner.utils import Params
  from ..runner.utils import payload_paramss_to_batch_params
  from ..server.base_app import BaseAppFactory
  from ..types import LazyType
  from ..utils.metrics import exponential_buckets
label_desc: Use image node_id 1 for calling a global function with example usage: _deserialize_single_param(request, bs) and returns: params