class_docstr: A container for */** parameters. It helps to perform an operation on all the params
  values at the same time.
docstr: Apply function that takes two arguments with given iterable as index to all none empty field in Params.
docstr_tok: ["Apply","function","that","takes","two","arguments","with","given","iterable","as","index","to","all","none","empty","field","in","Params","."]
code: def map_enumerate(
      self, function: t.Callable[[T, Ti], To], iterable: t.Iterable[Ti]
  ) -> Params[To]:
      """
      Apply function that takes two arguments with given iterable as index to all none empty field in Params.
      """
      if self.args:
          return Params[To](
              *tuple(
                  function(a, b) for a, b in zip(self.args, iterable)
              )
          )
      return Params[To](
          **{
              k: function(self.kwargs[k], b)
              for k, b in zip(self.kwargs, iterable)
          }
      )
  
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 6 for calling the Params obj's underlying member method code with example usage: obj.map_enumerate(function, iterable) and returns: Params, Params