semlib.find
find
async
find[T](
iterable: Iterable[T],
/,
*,
by: str | None = None,
to_str: Callable[[T], str] | None = None,
template: str | Callable[[T], str] | None = None,
negate: bool = False,
model: str | None = None,
max_concurrency: int | None = None,
) -> T | None
Standalone version of find.
Source code in src/semlib/find.py
find_sync
find_sync[T](
iterable: Iterable[T],
/,
*,
by: str | None = None,
to_str: Callable[[T], str] | None = None,
template: str | Callable[[T], str] | None = None,
negate: bool = False,
model: str | None = None,
max_concurrency: int | None = None,
) -> T | None
Standalone synchronous version of find.
Source code in src/semlib/find.py
:::