💾 Archived View for tris.fyi › pydoc › amethyst.resource_registry captured on 2023-01-29 at 03:51:23. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
This module has no docstring.
entry_points(**params) -> Union[importlib.metadata.EntryPoints, importlib.metadata.SelectableGroups] Return EntryPoint objects for all installed packages. Pass selection parameters (group or name) to filter the result to entry points matching those properties (see EntryPoints.select()). For compatibility, returns ``SelectableGroups`` object unless selection parameters are supplied. In the future, this function will return ``EntryPoints`` instead of ``SelectableGroups`` even when no selection parameters are supplied. For maximum future compatibility, pass selection parameters or invoke ``.select`` with parameters on the result. :return: EntryPoints or SelectableGroups for all installed packages.
ep = EntryPoint(name='redirect', value='amethyst_ext.redirect:RedirectResource', group='amethyst.resources')
eps = [EntryPoint(name='filesystem', value='amethyst.resource:FilesystemResource', group='amethyst.resources'), EntryPoint(name='pydoc', value='amethyst_ext.pydoc:PydocResource', group='amethyst.resources'), EntryPoint(name='redirect', value='amethyst_ext.redirect:RedirectResource', group='amethyst.resources')]
registry = {'filesystem': <class 'amethyst.resource.FilesystemResource'>, 'pydoc': <class 'amethyst_ext.pydoc.PydocResource'>, 'redirect': <class 'amethyst_ext.redirect.RedirectResource'>}