class_docstr: Mixin class for adding metadata request functionality.
  
  ``BaseEstimator`` inherits from this Mixin.
  
  .. versionadded:: 1.3
docstr: Get requested data properties.
  
  Please check :ref:`User Guide <metadata_routing>` on how the routing
  mechanism works.
  
  Returns
  -------
  request : MetadataRequest
      A :class:`~sklearn.utils.metadata_routing.MetadataRequest` instance.
docstr_tok: ["Get","requested","data","properties",".","Please","check",":","ref",":","`","User","Guide","<","metadata_routing",">","`","on","how","the","routing","mechanism","works",".","Returns","--","--","--","-","request",":","MetadataRequest","A",":","class",":","`","~sklearn.utils.metadata_routing.MetadataRequest","`","instance","."]
code: def _get_metadata_request(self):
      """Get requested data properties.
  
      Please check :ref:`User Guide <metadata_routing>` on how the routing
      mechanism works.
  
      Returns
      -------
      request : MetadataRequest
          A :class:`~sklearn.utils.metadata_routing.MetadataRequest` instance.
      """
      if hasattr(self, "_metadata_request"):
          requests = get_routing_for_object(self._metadata_request)
      else:
          requests = self._get_default_requests()
  
      return requests
  
imports: import inspect
  from collections import namedtuple
  from copy import deepcopy
  from typing import 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 4 for calling the _MetadataRequester obj's underlying member method code with example usage: obj._get_metadata_request() and returns: requests