class_docstr: A configuration for an operator.
  
  Args:
      name: the name of the operator
      label (name): a label for the operator
      description (None): a description of the operator
      dynamic (False): whether the operator inputs and outputs should be
          resolved when the input/output changes
      execute_as_generator (False): whether the operator should be executed
          as a generator
      unlisted (False): whether the operator should be hidden from the
          Operator Browser
      on_startup (False): whether the operator should be executed on startup
      disable_schema_validation (False): whether the operator built-in schema
          validation should be disabled
      icon (None): icon to show for the operator in the Operator Browser
      light_icon (None): icon to show for the operator in the Operator Browser
          when app is in the light mode
      dark_icon (None): icon to show for the operator in the Operator Browser
          when app is in the dark mode
      allow_immediate_execution (True): whether the operator should allow
          immediate execution
      allow_delegated_execution (False): whether the operator should allow
          delegated execution
      default_choice_to_delegated (False): whether to default to delegated
          execution, if allowed
      resolve_execution_options_on_change (None): whether to resolve
          execution options dynamically when inputs change. By default, this
          behavior will match the ``dynamic`` setting
class_docstr_tok: ["A","configuration","for","an","operator",".","Args",":","name",":","the","name","of","the","operator","label","(","name",")",":","a","label","for","the","operator","description","(","None",")",":","a","description","of","the","operator","dynamic","(","False",")",":","whether","the","operator","inputs","and","outputs","should","be","resolved","when","the","input\/output","changes","execute_as_generator","(","False",")",":","whether","the","operator","should","be","executed","as","a","generator","unlisted","(","False",")",":","whether","the","operator","should","be","hidden","from","the","Operator","Browser","on_startup","(","False",")",":","whether","the","operator","should","be","executed","on","startup","disable_schema_validation","(","False",")",":","whether","the","operator","built-in","schema","validation","should","be","disabled","icon","(","None",")",":","icon","to","show","for","the","operator","in","the","Operator","Browser","light_icon","(","None",")",":","icon","to","show","for","the","operator","in","the","Operator","Browser","when","app","is","in","the","light","mode","dark_icon","(","None",")",":","icon","to","show","for","the","operator","in","the","Operator","Browser","when","app","is","in","the","dark","mode","allow_immediate_execution","(","True",")",":","whether","the","operator","should","allow","immediate","execution","allow_delegated_execution","(","False",")",":","whether","the","operator","should","allow","delegated","execution","default_choice_to_delegated","(","False",")",":","whether","to","default","to","delegated","execution",",","if","allowed","resolve_execution_options_on_change","(","None",")",":","whether","to","resolve","execution","options","dynamically","when","inputs","change",".","By","default",",","this","behavior","will","match","the","``","dynamic","``","setting"]
code: def to_json(self):
      return {
          "name": self.name,
          "label": self.label,
          "description": self.description,
          "execute_as_generator": self.execute_as_generator,
          "unlisted": self.unlisted,
          "dynamic": self.dynamic,
          "on_startup": self.on_startup,
          "disable_schema_validation": self.disable_schema_validation,
          "delegation_target": self.delegation_target,
          "icon": self.icon,
          "dark_icon": self.dark_icon,
          "light_icon": self.light_icon,
          "allow_immediate_execution": self.allow_immediate_execution,
          "allow_delegated_execution": self.allow_delegated_execution,
          "default_choice_to_delegated": self.default_choice_to_delegated,
          "resolve_execution_options_on_change": self.resolve_execution_options_on_change,
      }
  
imports: from .types import Object, PromptView
label_desc: Use image node_id 2 for calling the OperatorConfig obj's underlying member method code with example usage: obj.to_json() and returns: dict