code: def filter_user_attempts(request: AxesHttpRequest, credentials: dict = None) -> QuerySet:
      
  
      username = get_client_username(request, credentials)
  
      filter_kwargs = get_client_parameters(username, request.axes_ip_address, request.axes_user_agent)
  
      return AccessAttempt.objects.filter(**filter_kwargs)
docs: Return a queryset of AccessAttempts that match the given request and credentials.