code: def remove(self, resource, **kwargs):
          
          log.info(
              "Removing {} '{}'...".format(self._model_name, resource.name))
          resource.remove(**kwargs)
          self._ids.remove(resource.id)
docs: Remove an instance of this resource type.