mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
assertpy: improve type for extracting (#12224)
Signed-off-by: BJ Hargrave <bj@hargrave.dev> Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user