MCPcopy
hub / github.com/google-deepmind/penzai / at_subtrees_where

Method at_subtrees_where

penzai/core/selectors.py:730–738  ·  view source on GitHub ↗
(
      self,
      filter_fn: Callable[[SelectedSubtree], bool],
      *,
      with_keypath: Literal[False] = False,
      absolute_keypath: bool = False,
      innermost: bool = False,
  )

Source from the content-addressed store, hash-verified

728
729 @typing.overload
730 def at_subtrees_where(
731 self,
732 filter_fn: Callable[[SelectedSubtree], bool],
733 *,
734 with_keypath: Literal[False] = False,
735 absolute_keypath: bool = False,
736 innermost: bool = False,
737 ) -> "Selection":
738 ...
739
740 @typing.overload
741 def at_subtrees_where(

Calls 3

applyMethod · 0.95
_wrap_selection_errorsFunction · 0.85