code: def get_most_recent_inds(obj):
      data = numpy.rec.array(
          [(x["_id"], int(x["version"])) for x in obj],
          names=["_id", "version"],
      )
      s = data.argsort(order=["_id", "version"])
      data = data[s]
      recent = (data["_id"][1:] != data["_id"][:-1]).nonzero()[0]
      recent = numpy.append(recent, [len(data) - 1])
      return s[recent]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from future import standard_library
  from builtins import str
  from builtins import range
  from past.builtins import basestring
  from past.utils import old_div
  import datetime
  import numpy
  import logging
  import os
  import shutil
  import numpy
  from .None import pyll
  from contextlib import contextmanager
label_desc: Use image node_id 8 for calling a global function with example usage: get_most_recent_inds(obj) and returns: s