class_docstr: pluggy.PluginManager that can fork.
  
  Capable of reconstructing itself in child workers.
  
  Arguments:
      setup_func: callback that initializes the plugin manager with all
          standard plugins
class_docstr_tok: ["pluggy.PluginManager","that","can","fork",".","Capable","of","reconstructing","itself","in","child","workers",".","Arguments",":","setup_func",":","callback","that","initializes","the","plugin","manager","with","all","standard","plugins"]
code: def __init__(
      self,
      *args,
      plugins: Sequence[str | Path],
      builtins: bool = True,
      **kwargs,
  ):
      self.__init_args = args
      self.__init_kwargs = kwargs
      self.__plugins = plugins
      self.__builtins = builtins
      super().__init__(*args, **kwargs)
      self.setup_plugins()
  
file_path: OCRmyPDF/src/ocrmypdf/_plugin_manager.py
imports: from __future__ import annotations
  import argparse
  import importlib
  import importlib.util
  import pkgutil
  import sys
  from collections.abc import Sequence
  from pathlib import Path
  import pluggy
  import ocrmypdf.builtin_plugins
  from ocrmypdf import pluginspec
  from ocrmypdf.cli import get_parser, plugins_only_parser
label_desc: Use image node_id 1 to create a new OcrmypdfPluginManager object from inherited base classes: pluggy with example: obj = OcrmypdfPluginManager()