Closed einarwar closed 2 months ago
@microsoft-github-policy-service agree
Originally wanted to mark old function parameters are deprecated, but i guess that isn't possible until PEP702
That sounds good to me! deprecated()
is available to Python 3.12 and below via the typing_extensions
module. See https://peps.python.org/pep-0702/#backwards-compatibility.
I took the liberty of making this change in your branch.
Thanks for your contribution @einarwar!
Updates sklearn.metrics stubs with changes introduced in v1.4 in https://github.com/scikit-learn/scikit-learn/pull/26734
Originally wanted to mark old function parameters are deprecated, but i guess that isn't possible until PEP702
Related issue from pylance: https://github.com/microsoft/pylance-release/issues/6410