Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions stubs/sklearn/_config.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from collections.abc import Iterator
from collections.abc import Generator
from contextlib import contextmanager
from typing import Literal

from ._typing import Int
Expand All @@ -19,6 +20,7 @@ def set_config(
enable_metadata_routing: None | bool = None,
skip_parameter_validation: None | bool = None,
) -> None: ...
@contextmanager
def config_context(
*,
assume_finite: None | bool = None,
Expand All @@ -31,4 +33,4 @@ def config_context(
transform_output: None | str = None,
enable_metadata_routing: None | bool = None,
skip_parameter_validation: None | bool = None,
) -> Iterator[None]: ...
) -> Generator[None, None, None]: ...