class_docstr: Context that represents a plugin and the Python objects it creates.
  
  Args:
      plugin_definition: the :class:`fiftyone.plugins.PluginDefinition` for
          the plugin
class_docstr_tok: ["Context","that","represents","a","plugin","and","the","Python","objects","it","creates",".","Args",":","plugin_definition",":","the",":","class",":","`","fiftyone.plugins.PluginDefinition","`","for","the","plugin"]
code: def __init__(self, plugin_definition):
      self.plugin_definition = plugin_definition
      self.instances = []
      self.errors = []
  
imports: import importlib
  import logging
  import os
  import sys
  import traceback
  import fiftyone
  import fiftyone.plugins
  from fiftyone.operators.decorators import plugins_cache
  from fiftyone.operators.operator import Operator
label_desc: Use image node_id 1 to create a new PluginContext object from inherited base classes: object with example: obj = PluginContext(plugin_definition)