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().
Added in version 1.3.
The name of the object to which these requests belong.
Check whether the given parameters are consumed by the given method.
Added in version 1.4.
The name of the method to check.
An iterable of parameters to check.
A set of parameters which are consumed by the given method.
© 2007–2025 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/1.6/modules/generated/sklearn.utils.metadata_routing.MetadataRequest.html