docs: def update_filter_dict(d, user, status):
      """Helper. Updates filter dict for a queryset.
  
      :param dict d:
      :param User|None user:
      :param int|None status:
      :return:
      """
      if user is not None:
          if not user.id:
              return None
          d['user'] = user
      if status is not None:
          d['status'] = status