code: def register_created(cls, key, image):
          
  
          if key in cls._stock:
              logger.info('Warning, replacing resource ' + str(key))
          cls._stock[key] = {'type': 'created', 'image': image}
          logger.info('%s registered as %s' % ('data', key))
docs: Register an already created image using key