diff --git a/stubs/assertpy/assertpy/extracting.pyi b/stubs/assertpy/assertpy/extracting.pyi index c8de113d3..da161a870 100644 --- a/stubs/assertpy/assertpy/extracting.pyi +++ b/stubs/assertpy/assertpy/extracting.pyi @@ -1,7 +1,13 @@ +from collections.abc import Callable, Iterable as _Iterable, Mapping from typing import Any from typing_extensions import Self __tracebackhide__: bool class ExtractingMixin: - def extracting(self, *names: Any, **kwargs: dict[str, Any]) -> Self: ... + def extracting( + self, + *names: str, + filter: str | Mapping[str, Any] | Callable[[Any], bool], + sort: str | _Iterable[str] | Callable[[Any], Any], + ) -> Self: ...