docs: def from_dict(cls, entity_cls, adict):
          """Initialize a ListRequestObject object from a dictionary."""
          invalid_req = InvalidRequestObject()
  
          # Extract the pagination parameters from the input
          page = int(adict.pop('page', 1))
          per_page = int(adict.pop(
              'per_page', getattr(active_config, 'PER_PAGE', 10)))
          order_by = adict.pop('order_by', ())
  
          # Check for invalid request conditions
          if page < 0:
              invalid_req.add_error('page', 'is invalid')
  
          if invalid_req.has_errors:
              return invalid_req
  
          # Do we need to pop out random?
          # adict.pop('random', None)
  
          return cls(entity_cls, page, per_page, order_by, adict)