class_docstr: A container for */** parameters. It helps to perform an operation on all the params
  values at the same time.
docstr: Apply a function to all the values in the Params and return a Params of the
  return values.
docstr_tok: ["Apply","a","function","to","all","the","values","in","the","Params","and","return","a","Params","of","the","return","values","."]
code: def map(self, function: t.Callable[[T], To]) -> Params[To]:
      """
      Apply a function to all the values in the Params and return a Params of the
      return values.
      """
      args = tuple(function(a) for a in self.args)
      kwargs = {k: function(v) for k, v in self.kwargs.items()}
      return Params[To](*args, **kwargs)
  
imports: from __future__ import annotations
  import itertools
  import logging
  import typing
  from typing import TYPE_CHECKING
  import anyio
  from bentoml.exceptions import InvalidArgument
label_desc: Use image node_id 5 for calling the Params obj's underlying member method code with example usage: obj.map(function) and returns: Params