server.get_ome_plugins ====================== .. py:module:: server.get_ome_plugins .. autoapi-nested-parse:: For each plugin.py file in server/plugins/* directory read attributes such as mimetypes or newsgroups of each class that is a subclass of OMEPlugin. Attributes ---------- .. autoapisummary:: server.get_ome_plugins.here server.get_ome_plugins.plugins_dir Functions --------- .. autoapisummary:: server.get_ome_plugins.get_ome_plugins_from_path server.get_ome_plugins.get_ome_plugins server.get_ome_plugins.get_newsgroups_from_plugins Module Contents --------------- .. py:data:: here .. py:data:: plugins_dir .. py:function:: get_ome_plugins_from_path(file_path: pathlib.Path) -> collections.abc.Iterator[type[server.plugins.ome_plugin.OMEPlugin]] .. py:function:: get_ome_plugins() -> collections.abc.Iterator[type[server.plugins.ome_plugin.OMEPlugin]] .. py:function:: get_newsgroups_from_plugins() -> dict[str, str] Return the content of the newsgroups attribute of all OMEPlugins.