code: def get_thing(self, lid):
          
          with self.__new_things:
              try:
                  return self.__new_things.pop(lid)
              except KeyError as ex:
                  raise_from(KeyError('Thing %s not know as new' % lid), ex)
docs: Get the details of a newly created Thing. This only applies to asynchronous creation of Things and the
          new Thing instance can only be retrieved once.
  
          Returns a [Thing](Thing.m.html#IoticAgent.IOT.Thing.Thing) object,
          which corresponds to the Thing with the given local id (nickname)
  
          Raises `KeyError` if the Thing has not been newly created (or has already been retrieved by a previous call)
  
          `lid` (required) (string) local identifier of your Thing.