MCPcopy Index your code
hub / github.com/RustPython/RustPython / _discover_resolvers

Method _discover_resolvers

Lib/importlib/metadata/__init__.py:441–446  ·  view source on GitHub ↗

Search the meta_path for resolvers (MetadataPathFinders).

()

Source from the content-addressed store, hash-verified

439
440 @staticmethod
441 def _discover_resolvers():
442 """Search the meta_path for resolvers (MetadataPathFinders)."""
443 declared = (
444 getattr(finder, 'find_distributions', None) for finder in sys.meta_path
445 )
446 return filter(None, declared)
447
448 @property
449 def metadata(self) -> _meta.PackageMetadata:

Callers 1

discoverMethod · 0.80

Calls 2

getattrFunction · 0.85
filterFunction · 0.85

Tested by

no test coverage detected