def _GetInstNodeGroup(ctx, default, node_uuid):
  try:
    node = ctx.nodes[node_uuid]
  except KeyError:
    return default
  else:
    return node.group
Return the last call.
dataset/ETHPy150Open ganeti/ganeti/lib/query.py/_GetInstNodeGroup--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/common.py/MockToggleDevice.last_call