class_docstr: An object that specifies a set of rewrites by tag/name.
class_docstr_tok: ["An","object","that","specifies","a","set","of","rewrites","by","tag\/name","."]
code: def __str__(self):
      return (
          "RewriteDatabaseQuery("
          + f"inc={self.include},ex={self.exclude},"
          + f"require={self.require},subquery={self.subquery},"
          + f"position_cutoff={self.position_cutoff},"
          + f"extra_rewrites={self.extra_rewrites})"
      )
  
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 2 for calling the RewriteDatabaseQuery obj's underlying member method code with example usage: obj.__str__() and returns: unknown