class_docstr: Represents a set of parameter documents in the docstring.
class_docstr_tok: ["Represents","a","set","of","parameter","documents","in","the","docstring","."]
docstr: Formats values to be substituted in via the format_docstring() method.
  
  Args:
      kwargs: A `dict` in the form of `{"< placeholder name >": "< value >"}`.
  
  Returns:
      A new `ParamDocs` instance with the formatted param docs.
  
  Examples
  --------
  >>> pd = ParamDocs(p1="{{ doc1 }}", p2="{{ doc2 }}")
  >>> pd.format(doc1="foo", doc2="bar")
  ParamDocs({'p1': 'foo', 'p2': 'bar'})
docstr_tok: ["Formats","values","to","be","substituted","in","via","the","format_docstring","(",")","method",".","Args",":","kwargs",":","A","`","dict","`","in","the","form","of","`","{","``","<","placeholder","name",">","''",":","``","<","value",">","''","}","`",".","Returns",":","A","new","`","ParamDocs","`","instance","with","the","formatted","param","docs",".","Examples","--","--","--","--",">",">",">","pd","=","ParamDocs","(","p1=","''","{","{","doc1","}","}","''",",","p2=","''","{","{","doc2","}","}","''",")",">",">",">","pd.format","(","doc1=","''","foo","''",",","doc2=","''","bar","''",")","ParamDocs","(","{","'p1","'",":","'foo","'",",","'p2","'",":","'bar","'","}",")"]
code: def format(self, **kwargs):
      """
      Formats values to be substituted in via the format_docstring() method.
  
      Args:
          kwargs: A `dict` in the form of `{"< placeholder name >": "< value >"}`.
  
      Returns:
          A new `ParamDocs` instance with the formatted param docs.
  
      Examples
      --------
      >>> pd = ParamDocs(p1="{{ doc1 }}", p2="{{ doc2 }}")
      >>> pd.format(doc1="foo", doc2="bar")
      ParamDocs({'p1': 'foo', 'p2': 'bar'})
      """
      replacements = _replace_keys_with_placeholders(kwargs)
      return ParamDocs(
          {k: _replace_all(v, replacements) for k, v in self.items()}
      )
  
imports: import textwrap
  import warnings
  from functools import wraps
  from typing import Dict
  import importlib_metadata
  from packaging.version import Version
  from mlflow.ml_package_versions import _ML_PACKAGE_VERSIONS
  from mlflow.utils.autologging_utils.versioning import FLAVOR_TO_MODULE_NAME_AND_VERSION_INFO_KEY
label_desc: Use image node_id 2 for calling the ParamDocs obj's underlying member method code with example usage: obj.format() and returns: ParamDocs