class_docstr: Contains the metadata request info of a consumer.
  
  Instances of `MethodMetadataRequest` are used in this class for each
  available method under `metadatarequest.{method}`.
  
  Consumer-only classes such as simple estimators return a serialized
  version of this class as the output of `get_metadata_routing()`.
  
  .. versionadded:: 1.3
  
  Parameters
  ----------
  owner : str
      The name of the object to which these requests belong.
class_docstr_tok: ["Contains","the","metadata","request","info","of","a","consumer",".","Instances","of","`","MethodMetadataRequest","`","are","used","in","this","class","for","each","available","method","under","`","metadatarequest.","{","method","}","`",".","Consumer-only","classes","such","as","simple","estimators","return","a","serialized","version","of","this","class","as","the","output","of","`","get_metadata_routing","(",")","`",".","..","versionadded",":",":","1.3","Parameters","--","--","--","--","--","owner",":","str","The","name","of","the","object","to","which","these","requests","belong","."]
code: def __repr__(self):
      return str(self._serialize())
  
imports: import inspect
  from collections import namedtuple
  from copy import deepcopy
  from typing import TYPE_CHECKING, Optional, Union
  from warnings import warn
  from ..None import get_config
  from ..exceptions import UnsetMetadataPassedError
  from ._bunch import Bunch
label_desc: Use image node_id 8 for calling the MetadataRequest obj's underlying member method code with example usage: obj.__repr__() and returns: str