docs: def execute(self, commands, pretty_format=False):
          """
          Parse and run a DQL string
  
          Parameters
          ----------
          commands : str
              The DQL command string
          pretty_format : bool
              Pretty-format the return value. (e.g. 4 -> 'Updated 4 items')
  
          """
          tree = parser.parseString(commands)
          self.consumed_capacities = []
          self._analyzing = False
          self._query_rate_limit = None
          for statement in tree:
              try:
                  result = self._run(statement)
              except ExplainSignal:
                  return self._format_explain()
          if pretty_format:
              return self._pretty_format(tree[-1], result)
          return result