class_docstr: A container for */** parameters. It helps to perform an operation on all the params
  values at the same time.
docstr: Return a sample value (the first value of args or kwargs if args is empty)
  of the Params.
docstr_tok: ["Return","a","sample","value","(","the","first","value","of","args","or","kwargs","if","args","is","empty",")","of","the","Params","."]
code: def sample(self) -> T:
      """
      Return a sample value (the first value of args or kwargs if args is empty)
      of the Params.
      """
      if self.args:
          return self.args[0]
      return next(iter(self.kwargs.values()))
  
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 9 for calling the Params obj's underlying member method code with example usage: obj.sample() and returns: next, self