docs: def get_limit(self, request):
          """Return limit parameter."""
          if self.limit_query_param:
              try:
                  return _positive_int(
                      get_query_param(request, self.limit_query_param),
                      strict=True,
                      cutoff=self.max_limit
                  )
              except (KeyError, ValueError):
                  pass
  
          return self.default_limit