Update assertpy/extracting.pyi so that kwargs are not required (#12229)

The recent change to better type the `sort` and `filter` kwargs had the
side effect of making them required. So we fix to supply a default
argument.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>
This commit is contained in:
BJ Hargrave
2024-07-02 15:20:50 -04:00
committed by GitHub
parent 02d2f5f09e
commit 1f8c439ceb

View File

@@ -8,6 +8,6 @@ class ExtractingMixin:
def extracting(
self,
*names: str,
filter: str | Mapping[str, Any] | Callable[[Any], bool],
sort: str | _Iterable[str] | Callable[[Any], Any],
filter: str | Mapping[str, Any] | Callable[[Any], bool] = ...,
sort: str | _Iterable[str] | Callable[[Any], Any] = ...,
) -> Self: ...