Skip to content

Commit 082eb5d

Browse files
StefanieSengerlucyleeowadrinjalali
authored
DOC Clarify metadata routing docs from _metadata_requests.py module (scikit-learn#31419)
Co-authored-by: Lucy Liu <jliu176@gmail.com> Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
1 parent 6ac2cb3 commit 082eb5d

File tree

3 files changed

+145
-120
lines changed

3 files changed

+145
-120
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ notice-rgx = "\\#\\ Authors:\\ The\\ scikit\\-learn\\ developers\\\r?\\\n\\#\\ S
194194
"examples/svm/plot_rbf_parameters.py"=["CPY001"]
195195
# __all__ has un-imported names
196196
"sklearn/__init__.py"=["F822"]
197+
"sklearn/utils/_metadata_requests.py"=["CPY001"]
197198

198199
[tool.mypy]
199200
ignore_missing_imports = true

sklearn/tests/test_metadata_routing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def test_nested_routing_conflict():
425425
"In WeightedMetaRegressor, there is a conflict on sample_weight between"
426426
" what is requested for this estimator and what is requested by its"
427427
" children. You can resolve this conflict by using an alias for the"
428-
" child estimator(s) requested metadata."
428+
" child estimators' requested metadata."
429429
)
430430
),
431431
):

0 commit comments

Comments
 (0)