code: def __init__(self, name, operator_refs):
      self.name = name
      if operator_refs is not None:
          if isinstance(operator_refs, list):
              for elem in operator_refs:
                  if not isinstance(elem, OpReference):
                      raise TypeError(
                          "Expected a single op_reference or a list of them to be provided"
                      )
              self.operator_refs = operator_refs
          elif not isinstance(operator_refs, OpReference):
              raise TypeError(
                  "Expected a single op_reference or a list of them to be provided"
              )
          else:
              # Single OpReference, normalize to list
              self.operator_refs = [operator_refs]
      else:
          # or just keep it as None
          self.operator_refs = None
      # If we need to recurse over this entry
      self.python_index = True if name.endswith(".py") else False
  
file_path: DALI/docs/doc_index.py
imports: from pathlib import Path
label_desc: Use image node_id 1 to create a new DocEntry object  with example: obj = DocEntry(name, operator_refs)