Utils

nepse.utils.get(iterable: Iterable[nepse.utils.T], **attrs: Any) Optional[nepse.utils.T]

A helper that returns the first element in the iterable that meets all the traits passed in attrs.

Parameters
  • iterable (Iterable) – An iterable to search through.

  • **attrs (Any) – Keyword arguments that denote attributes to search with.