We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_metadata_routing()
1 parent 66c94a2 commit fc04144Copy full SHA for fc04144
stubs/sklearn/utils/_metadata_requests.pyi
@@ -71,7 +71,7 @@ class RequestMethod:
71
72
class _MetadataRequester:
73
def __init_subclass__(cls, **kwargs): ...
74
- def get_metadata_routing(self): ...
+ def get_metadata_routing(self) -> MetadataRequest: ...
75
# This code is never run in runtime, but it's here for type checking.
76
# Type checkers fail to understand that the `set_{method}_request`
77
# methods are dynamically generated, and they complain that they are
0 commit comments