mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
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:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user