MCPcopy Index your code
hub / github.com/python/cpython / select

Method select

Lib/importlib/metadata/__init__.py:340–345  ·  view source on GitHub ↗

Select entry points from self that match the given parameters (typically group and/or name).

(self, **params)

Source from the content-addressed store, hash-verified

338 return '%s(%r)' % (self.__class__.__name__, tuple(self))
339
340 def select(self, **params) -> EntryPoints:
341 """
342 Select entry points from self that match the
343 given parameters (typically group and/or name).
344 """
345 return EntryPoints(ep for ep in self if ep.matches(**params))
346
347 @property
348 def names(self) -> set[str]:

Callers 2

__getitem__Method · 0.95
entry_pointsFunction · 0.45

Calls 2

EntryPointsClass · 0.85
matchesMethod · 0.45

Tested by

no test coverage detected