def METHOD_NAME(
    self, plugin_type: Optional[PluginType] = None
) -> List[Union[Type[BasePlugin], Type[BaseActionPlugin]]]:
    if not self._initialized:
        self.find_plugins()
    if plugin_type is not None:
        return self._plugins.get(plugin_type, [])
    return [plugin for plugins in self._plugins.values() for plugin in plugins]