def _GetInstNicIp(ctx, _, nic): # pylint: disable=W0613
  if nic.ip is None:
    return _FS_UNAVAIL
  else:
    return nic.ip
Removes the current authenticated user in the request which is invalid
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstNicIp--crossover with--dataset/ETHPy150Open django/django/django/contrib/auth/middleware.py/RemoteUserMiddleware._remove_invalid_user