docs: def reduce_limit(self, limit, options=None):
          """
          Adds the Javascript built-in ``Riak.reduceLimit`` to the query
          as a reduce phase.
  
          :param limit: the maximum number of results to return
          :type limit: integer
          :param options: phase options, containing 'language', 'keep'
            flag, and/or 'arg'.
          :type options: dict
          """
          if options is None:
              options = dict()
  
          options['arg'] = limit
          # reduceLimit is broken in riak_kv
          code = """function(value, arg) {
              return value.slice(0, arg);
          }"""
          return self.reduce(code, options=options)