class_docstr: A database that generates `NodeRewriter`\s of type `SequentialNodeRewriter`.
class_docstr_tok: ["A","database","that","generates","`","NodeRewriter","`","\\s","of","type","`","SequentialNodeRewriter","`","."]
code: def __init__(
      self,
      apply_all_rewrites: bool = False,
      profile: bool = False,
      node_rewriter=pytensor_rewriting.SequentialNodeRewriter,
  ):
      super().__init__(failure_callback=None)
      self.apply_all_rewrites = apply_all_rewrites
      self.profile = profile
      self.node_rewriter = node_rewriter
      self.__name__: str = ""
  
imports: import copy
  import math
  import sys
  from collections.abc import Iterable, Sequence
  from functools import cmp_to_key
  from io import StringIO
  from typing import Optional, Union
  from pytensor.configdefaults import config
  from pytensor.graph.rewriting import basic
  from pytensor.misc.ordered_set import OrderedSet
  from pytensor.utils import DefaultOrderedDict
label_desc: Use image node_id 1 to create a new LocalGroupDB object from inherited base classes: SequenceDB with example: obj = LocalGroupDB(apply_all_rewrites, profile, node_rewriter)