code: def __remove_service(self, key, service):
          
          try:
              # Remove the injected service
              prop_services = self._future_value[key]
              prop_services.remove(service)
  
              # Clean up
              if not prop_services:
                  del self._future_value[key]
  
          except KeyError:
              # Ignore: can occur when removing a service with a None property,
              # if allow_none is False
              pass
docs: Removes the given service from the future dictionary
  
          :param key: Dictionary key
          :param service: Service to remove from the dictionary