MCPcopy Index your code
hub / github.com/ipython/ipython / _is_matcher_v1

Function _is_matcher_v1

IPython/core/completer.py:698–700  ·  view source on GitHub ↗
(matcher: Matcher)

Source from the content-addressed store, hash-verified

696
697
698def _is_matcher_v1(matcher: Matcher) -> TypeGuard[MatcherAPIv1]:
699 api_version = _get_matcher_api_version(matcher)
700 return api_version == 1
701
702
703def _is_matcher_v2(matcher: Matcher) -> TypeGuard[MatcherAPIv2]:

Callers 1

_completeMethod · 0.85

Calls 1

_get_matcher_api_versionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…